mirror of
https://github.com/correl/SleekXMPP.git
synced 2024-11-24 03:00:15 +00:00
Merge branch 'develop' into exceptions
This commit is contained in:
commit
8fada4d015
1 changed files with 1 additions and 1 deletions
|
@ -614,7 +614,7 @@ class BaseXMPP(XMLStream):
|
||||||
'in_roster': False}
|
'in_roster': False}
|
||||||
|
|
||||||
# Alias to simplify some references.
|
# Alias to simplify some references.
|
||||||
connections = self.roster[jid]['presence']
|
connections = self.roster[jid].get('presence', {})
|
||||||
|
|
||||||
# Determine if the user has just come online.
|
# Determine if the user has just come online.
|
||||||
if not resource in connections:
|
if not resource in connections:
|
||||||
|
|
Loading…
Reference in a new issue