bugfixing

This commit is contained in:
2019-02-27 02:27:32 +01:00
parent 0c1b8e3e00
commit 282ced3fe6

View File

@@ -323,7 +323,7 @@ class XMPPTelegram(ComponentXMPP):
self.gate_reply_message(msg, reply) self.gate_reply_message(msg, reply)
#msg.reply(reply).send() #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"])) logging.info("received command "+str(msg["body"])+" from "+str(msg["from"])+" for "+str(msg["to"]))
is_command = msg["body"].startswith("!") and msg["body"][1] != "_" is_command = msg["body"].startswith("!") and msg["body"][1] != "_"