diff --git a/xmpp_tg/xmpp.py b/xmpp_tg/xmpp.py index 4832fd9..c0efe77 100644 --- a/xmpp_tg/xmpp.py +++ b/xmpp_tg/xmpp.py @@ -323,7 +323,7 @@ class XMPPTelegram(ComponentXMPP): self.gate_reply_message(msg, reply) #msg.reply(reply).send() - def process_chat_group_command(self, iq): + def process_chat_group_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] != "_"