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