From 5f6c7d858fafbbc760dcd22077a6db805c7c4783 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Thu, 11 Dec 2008 22:04:25 +0000 Subject: [PATCH] ignore show that are not in RFC-3921. --- src/common/connection_handlers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/connection_handlers.py b/src/common/connection_handlers.py index 472bb53bd..c463b6219 100644 --- a/src/common/connection_handlers.py +++ b/src/common/connection_handlers.py @@ -2007,7 +2007,7 @@ class ConnectionHandlers(ConnectionVcard, ConnectionBytestream, ConnectionDisco, 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'