send priority on EVERY presences
This commit is contained in:
parent
6cb304610b
commit
903941fe03
|
@ -217,8 +217,9 @@ class Connection:
|
||||||
self.vcard_sha = ''
|
self.vcard_sha = ''
|
||||||
self.dispatch('MYVCARD', vcard)
|
self.dispatch('MYVCARD', vcard)
|
||||||
#we re-send our presence with sha
|
#we re-send our presence with sha
|
||||||
sshow = STATUS_LIST[self.connected]
|
sshow = STATUS_LIST[self.connected]
|
||||||
p = common.xmpp.Presence(typ = None, show = sshow,
|
prio = str(gajim.config.get_per('accounts', self.name, 'priority'))
|
||||||
|
p = common.xmpp.Presence(typ = None, priority = prio, show = sshow,
|
||||||
status = self.status)
|
status = self.status)
|
||||||
p = self.add_sha(p)
|
p = self.add_sha(p)
|
||||||
self.to_be_sent.append(p)
|
self.to_be_sent.append(p)
|
||||||
|
|
Loading…
Reference in New Issue