This commit is contained in:
2019-02-26 21:25:11 +01:00
parent f1e6db8716
commit eb66822e2d

View File

@@ -438,7 +438,7 @@ class XMPPTelegram(ComponentXMPP):
response = "Telegram chats:\n" response = "Telegram chats:\n"
for jid,tid in self.contact_list[jid].items(): for jid,tid in self.contact_list[jid].items():
response += "{}: {}\n".format(tid, jid) response += "{}: {}\n".format(tid, jid)
self.gate_reply_message(iq, response)) self.gate_reply_message(iq, response)
else: # -------------------------------------------------- else: # --------------------------------------------------
self.gate_reply_message(iq, 'Unknown command. Try !help for list all commands.') self.gate_reply_message(iq, 'Unknown command. Try !help for list all commands.')