changeset 680037f23ca5 in /home/hg/repos/gajim
details:http://hg.gajim.org/gajim?cmd=changeset;node=680037f23ca5 description: ignore unknown show types when we receive strange stanza.
diffstat:
src/common/connection_handlers.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 2aeef7498c6d -r 680037f23ca5 src/common/connection_handlers.py --- a/src/common/connection_handlers.py Sat Oct 31 22:57:14 2009 +0100 +++ b/src/common/connection_handlers.py Sat Oct 31 23:22:12 2009 +0100 @@ -2259,7 +2259,7 @@ is_gc = True status = prs.getStatus() or '' show = prs.getShow() - if not show in gajim.SHOW_LIST: + if show not in ('chat', 'away', 'xa', 'dnd'): show = '' # We ignore unknown show if not ptype and not show: show = 'online'