From 924b1e3df27825766e1e704193080364d0a40090 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Thu, 1 Sep 2005 17:16:35 +0000 Subject: [PATCH] do not send online show in presence --- src/common/connection.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/common/connection.py b/src/common/connection.py index 5ab3b3c91..c0da26dac 100644 --- a/src/common/connection.py +++ b/src/common/connection.py @@ -217,7 +217,9 @@ class Connection: self.vcard_sha = '' self.dispatch('MYVCARD', vcard) #we re-send our presence with sha - sshow = STATUS_LIST[self.connected] + sshow = STATUS_LIST[self.connected] + if sshow == 'online': + sshow = None prio = unicode(gajim.config.get_per('accounts', self.name, 'priority')) p = common.xmpp.Presence(typ = None, priority = prio, show = sshow,