Author: asterix Date: 2008-12-11 23:04:25 +0100 (Thu, 11 Dec 2008) New Revision: 10832
Modified: trunk/src/common/connection_handlers.py Log: ignore show that are not in RFC-3921.
Modified: trunk/src/common/connection_handlers.py =================================================================== --- trunk/src/common/connection_handlers.py 2008-12-11 22:02:27 UTC (rev 10831) +++ trunk/src/common/connection_handlers.py 2008-12-11 22:04:25 UTC (rev 10832) @@ -2007,7 +2007,7 @@
status = prs.getStatus() or '' show = prs.getShow() - if not show in STATUS_LIST: + if not show in ['away', 'chat', 'dnd', 'xa']: show = '' # We ignore unknown show if not ptype and not show: show = 'online'