do not send online show in presence
This commit is contained in:
parent
933f9c9a27
commit
924b1e3df2
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue