From db1fc5fbc5d1b4ed32b83408879109e596f47111 Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Mon, 1 May 2023 19:50:26 +0200 Subject: [PATCH] xmlstream: Fix registration MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This iq nonza wasn’t marked as allowed to be sent on an unauthenticated stream. --- slixmpp/xmlstream/xmlstream.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/slixmpp/xmlstream/xmlstream.py b/slixmpp/xmlstream/xmlstream.py index 5e6a64ec..c7af73a4 100644 --- a/slixmpp/xmlstream/xmlstream.py +++ b/slixmpp/xmlstream/xmlstream.py @@ -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