mirror of
https://github.com/correl/SleekXMPP.git
synced 2024-11-27 11:09:56 +00:00
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