Commit ab530b18 authored by Yann Leboulanger's avatar Yann Leboulanger

don't traceback when we receive pep info from muc

parent a4c1e828
......@@ -1695,8 +1695,11 @@ class ConnectionHandlers(ConnectionVcard, ConnectionBytestream, ConnectionDisco,
'''Called when we receive a message'''
gajim.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
......@@ -1741,7 +1744,6 @@ class ConnectionHandlers(ConnectionVcard, ConnectionBytestream, ConnectionDisco,
is_continued))
return
mtype = msg.getType()
thread_id = msg.getThread()
if not mtype:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment