Skip to content
Snippets Groups Projects
Commit e42bb582 authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

don't traceback when we receive pep info from muc

parent 765336b4
No related branches found
No related tags found
No related merge requests found
......@@ -1799,8 +1799,11 @@ class ConnectionHandlers(ConnectionVcard, ConnectionBytestream, ConnectionDisco,
'''Called when we receive a message'''
log.debug('MessageCB')
mtype = msg.getType()
# check if the message is pubsub#event
if msg.getTag('event') is not None:
if mtype == 'groupchat':
return
if msg.getTag('error') is None:
self._pubsubEventCB(con, msg)
return
......@@ -1854,7 +1857,6 @@ class ConnectionHandlers(ConnectionVcard, ConnectionBytestream, ConnectionDisco,
is_continued))
return
mtype = msg.getType()
thread_id = msg.getThread()
if not mtype:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment