mirror of
https://github.com/correl/SleekXMPP.git
synced 2024-12-25 03:00:17 +00:00
Merge branch 'develop' into roster
This commit is contained in:
commit
d3bd9cd31d
1 changed files with 1 additions and 1 deletions
|
@ -234,7 +234,7 @@ class ClientXMPP(BaseXMPP):
|
|||
'subscription': subscription,
|
||||
'groups': groups}}
|
||||
response = iq.send(block, timeout, callback)
|
||||
if response in [False, None]:
|
||||
if response in [False, None] or not isinstance(response, Iq):
|
||||
return response
|
||||
return response['type'] == 'result'
|
||||
|
||||
|
|
Loading…
Reference in a new issue