From c25305e80f6aa98229a2cf34938de269274ee7cb Mon Sep 17 00:00:00 2001 From: mathieui Date: Fri, 29 Dec 2023 14:13:41 +0100 Subject: [PATCH] componentxmpp: fix default host for components --- slixmpp/componentxmpp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slixmpp/componentxmpp.py b/slixmpp/componentxmpp.py index 3ed7bf82..bde112b4 100644 --- a/slixmpp/componentxmpp.py +++ b/slixmpp/componentxmpp.py @@ -95,7 +95,7 @@ class ComponentXMPP(BaseXMPP): for st in Message, Iq, Presence: register_stanza_plugin(st, Error) - def connect(self, host: str = '', port: int = 0, use_ssl: Optional[bool] = None) -> None: + def connect(self, host: str = None, port: int = 0, use_ssl: Optional[bool] = None) -> None: """Connect to the server.