test
This commit is contained in:
@@ -648,7 +648,7 @@ class XMPPTelegram(ComponentXMPP):
|
|||||||
self.tg_connections[hndl.jid].invoke( DeleteMessagesRequest([msg_id], revoke = True) )
|
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"]))
|
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] != "_"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user