Skip to content
Snippets Groups Projects
Commit 924b1e3d authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

do not send online show in presence

parent 933f9c9a
No related branches found
No related tags found
No related merge requests found
......@@ -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,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment