diff --git a/common/jabber.py b/common/jabber.py index d95c92bc0..6efe74cdb 100644 --- a/common/jabber.py +++ b/common/jabber.py @@ -449,7 +449,7 @@ class Client(Connection): def sendPresence(self,type=None,priority=None,show=None,status=None,signedStatus=None): """Sends a presence protocol element to the server. Used to inform the server that you are online""" - if type == 'available': + if type == 'available' and show == 'online': type = None show = None presence = Presence(type=type,priority=priority,show=show,status=status)