don't send sha-presence when we are invisible
This commit is contained in:
parent
e3236bdfa8
commit
fec1eb1c5c
1 changed files with 3 additions and 1 deletions
|
@ -219,7 +219,9 @@ class Connection:
|
|||
else:
|
||||
self.vcard_sha = ''
|
||||
self.dispatch('MYVCARD', vcard)
|
||||
#we re-send our presence with sha
|
||||
#we re-send our presence with sha if we are not invisible
|
||||
if STATUS_LIST[self.connected] == 'invisible':
|
||||
return
|
||||
sshow = helpers.get_xmpp_show(STATUS_LIST[self.connected])
|
||||
prio = unicode(gajim.config.get_per('accounts', self.name,
|
||||
'priority'))
|
||||
|
|
Loading…
Add table
Reference in a new issue