mirror of
https://github.com/correl/SleekXMPP.git
synced 2024-11-23 19:19:53 +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}
|
||||
|
||||
# Alias to simplify some references.
|
||||
connections = self.roster[jid]['presence']
|
||||
connections = self.roster[jid].get('presence', {})
|
||||
|
||||
# Determine if the user has just come online.
|
||||
if not resource in connections:
|
||||
|
|
Loading…
Reference in a new issue