presence when we get our vcard also contain our status message

This commit is contained in:
Yann Leboulanger 2005-08-08 12:23:51 +00:00
parent 0fa731445a
commit ac36bbf306
1 changed files with 2 additions and 1 deletions

View File

@ -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: