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
|
passthrough = True
|
||||||
elif data.get_plugin('session', check=True):
|
elif data.get_plugin('session', check=True):
|
||||||
passthrough = True
|
passthrough = True
|
||||||
|
elif data.get_plugin('register', check=True):
|
||||||
|
passthrough = True
|
||||||
elif isinstance(data, Handshake):
|
elif isinstance(data, Handshake):
|
||||||
passthrough = True
|
passthrough = True
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue