debugging
This commit is contained in:
@@ -166,6 +166,10 @@ class XMPPTelegram(ComponentXMPP):
|
|||||||
|
|
||||||
# detect media
|
# detect media
|
||||||
|
|
||||||
|
logging.debug("test")
|
||||||
|
|
||||||
|
logging.debug(msg.__dict__)
|
||||||
|
|
||||||
if "oob" in msg:
|
if "oob" in msg:
|
||||||
logging.debug("Found OOB content in message")
|
logging.debug("Found OOB content in message")
|
||||||
if "url" in msg['oob']:
|
if "url" in msg['oob']:
|
||||||
@@ -190,7 +194,7 @@ class XMPPTelegram(ComponentXMPP):
|
|||||||
#self.send_message(mto=iq['from'], mfrom=iq['to'], mtype='chat', mbody='[Your MID:{}]'.format(msg_id))
|
#self.send_message(mto=iq['from'], mfrom=iq['to'], mtype='chat', mbody='[Your MID:{}]'.format(msg_id))
|
||||||
|
|
||||||
def event_presence_unsub(self, presence):
|
def event_presence_unsub(self, presence):
|
||||||
return
|
return
|
||||||
|
|
||||||
def event_presence(self, presence):
|
def event_presence(self, presence):
|
||||||
"""
|
"""
|
||||||
|
|||||||
Reference in New Issue
Block a user