xmlstream: Fix registration
This iq nonza wasn’t marked as allowed to be sent on an unauthenticated stream.
This commit is contained in:
parent
209554e63f
commit
db1fc5fbc5
1 changed files with 2 additions and 0 deletions
|
@ -1339,6 +1339,8 @@ class XMLStream(asyncio.BaseProtocol):
|
|||
passthrough = True
|
||||
elif data.get_plugin('session', check=True):
|
||||
passthrough = True
|
||||
elif data.get_plugin('register', check=True):
|
||||
passthrough = True
|
||||
elif isinstance(data, Handshake):
|
||||
passthrough = True
|
||||
|
||||
|
|
Loading…
Reference in a new issue