diff --git a/xmpp_tg/xmpp.py b/xmpp_tg/xmpp.py index 503ad13..09157ca 100644 --- a/xmpp_tg/xmpp.py +++ b/xmpp_tg/xmpp.py @@ -648,7 +648,7 @@ class XMPPTelegram(ComponentXMPP): self.tg_connections[hndl.jid].invoke( DeleteMessagesRequest([msg_id], revoke = True) ) - def process_chat_user_command(self, iq): + def process_chat_user_command(self, msg): logging.info("received command "+str(msg["body"])+" from "+str(msg["from"])+" for "+str(msg["to"])) is_command = msg["body"].startswith("!") and msg["body"][1] != "_"