mirror of
https://github.com/correl/SleekXMPP.git
synced 2024-11-27 19:19:54 +00:00
Merge branch 'develop' into stream_features
This commit is contained in:
commit
4efd41f1ba
1 changed files with 2 additions and 1 deletions
|
@ -643,7 +643,8 @@ class BaseXMPP(XMLStream):
|
||||||
log.debug("%s %s got offline" % (jid, resource))
|
log.debug("%s %s got offline" % (jid, resource))
|
||||||
del connections[resource]
|
del connections[resource]
|
||||||
|
|
||||||
if not connections and not self.roster[jid]['in_roster']:
|
if not connections and \
|
||||||
|
not self.roster[jid].get('in_roster', False):
|
||||||
del self.roster[jid]
|
del self.roster[jid]
|
||||||
if not was_offline:
|
if not was_offline:
|
||||||
self.event("got_offline", presence)
|
self.event("got_offline", presence)
|
||||||
|
|
Loading…
Reference in a new issue