changeset 6c5fa8be3e1b in /home/hg/repos/gajim
details:http://hg.gajim.org/gajim?cmd=changeset;node=6c5fa8be3e1b description: don't traceback when we receive pep info from muc
diffstat:
src/common/connection_handlers.py | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-)
diffs (23 lines):
diff -r 8e8c571c93a3 -r 6c5fa8be3e1b src/common/connection_handlers.py --- a/src/common/connection_handlers.py Sun Jul 05 11:57:12 2009 +0200 +++ b/src/common/connection_handlers.py Tue Jul 07 13:41:05 2009 +0200 @@ -1695,8 +1695,11 @@ '''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 @@ is_continued)) return
- mtype = msg.getType() thread_id = msg.getThread()
if not mtype: