mirror of
https://github.com/correl/SleekXMPP.git
synced 2024-12-02 19:19:54 +00:00
Need to store unavailable presence as last sent if broadcasted.
This commit is contained in:
parent
adf6d49fd1
commit
d1e12cd46f
1 changed files with 2 additions and 1 deletions
|
@ -265,7 +265,8 @@ class RosterNode(object):
|
||||||
pnick=pnick)
|
pnick=pnick)
|
||||||
if self.xmpp.is_component:
|
if self.xmpp.is_component:
|
||||||
p['from'] = self.jid
|
p['from'] = self.jid
|
||||||
if p['type'] in p.showtypes or p['type'] == 'available':
|
if p['type'] in p.showtypes or \
|
||||||
|
p['type'] in ['available', 'unavailable']:
|
||||||
self.last_status = p
|
self.last_status = p
|
||||||
p.send()
|
p.send()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue