fixes #2263
This commit is contained in:
parent
bfcf20f301
commit
e35bf19aed
1 changed files with 5 additions and 1 deletions
|
@ -81,4 +81,8 @@ def eject_user(xmpp, jid, nick, reason):
|
|||
query.append(item)
|
||||
iq.append(query)
|
||||
iq['to'] = jid
|
||||
return iq.send()
|
||||
try:
|
||||
iq.send()
|
||||
except Exception as e:
|
||||
return e.iq
|
||||
|
||||
|
|
Loading…
Reference in a new issue