diff --git a/src/common/connection.py b/src/common/connection.py index 99e68be16..7bdbb00b1 100644 --- a/src/common/connection.py +++ b/src/common/connection.py @@ -217,8 +217,9 @@ class Connection: self.vcard_sha = '' self.dispatch('MYVCARD', vcard) #we re-send our presence with sha - sshow = STATUS_LIST[self.connected] - p = common.xmpp.Presence(typ = None, show = sshow, + sshow = STATUS_LIST[self.connected] + prio = str(gajim.config.get_per('accounts', self.name, 'priority')) + p = common.xmpp.Presence(typ = None, priority = prio, show = sshow, status = self.status) p = self.add_sha(p) self.to_be_sent.append(p)