mirror of
https://github.com/correl/SleekXMPP.git
synced 2024-11-30 11:09:56 +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)
|
||||
if self.xmpp.is_component:
|
||||
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
|
||||
p.send()
|
||||
|
||||
|
|
Loading…
Reference in a new issue