Merge branch 'develop' into stream_features
This commit is contained in:
commit
5d11ab269d
1 changed files with 1 additions and 1 deletions
|
@ -617,7 +617,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