presence when we get our vcard also contain our status message
This commit is contained in:
parent
0fa731445a
commit
ac36bbf306
|
@ -232,7 +232,8 @@ class Connection:
|
||||||
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)
|
p = common.xmpp.Presence(typ = None, show = sshow,
|
||||||
|
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)
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue