xep_0050: Fix indentation

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
Maxime “pep” Buquet 2019-04-14 02:19:58 +01:00
parent af246dcfe1
commit 72b355de8c
No known key found for this signature in database
GPG Key ID: DEDA74AEECA9D0F2

View File

@ -89,9 +89,9 @@ class XEP_0050(BasePlugin):
self.commands = {} self.commands = {}
self.xmpp.register_handler( self.xmpp.register_handler(
Callback("Ad-Hoc Execute", Callback("Ad-Hoc Execute",
StanzaPath('iq@type=set/command'), StanzaPath('iq@type=set/command'),
self._handle_command)) self._handle_command))
register_stanza_plugin(Iq, Command) register_stanza_plugin(Iq, Command)
register_stanza_plugin(Command, Form, iterable=True) register_stanza_plugin(Command, Form, iterable=True)
@ -468,7 +468,7 @@ class XEP_0050(BasePlugin):
**kwargs) **kwargs)
def send_command(self, jid, node, ifrom=None, action='execute', def send_command(self, jid, node, ifrom=None, action='execute',
payload=None, sessionid=None, flow=False, **kwargs): payload=None, sessionid=None, flow=False, **kwargs):
""" """
Create and send a command stanza, without using the provided Create and send a command stanza, without using the provided
workflow management APIs. workflow management APIs.