componentxmpp: fix default host for components

This commit is contained in:
mathieui
2023-12-29 14:13:41 +01:00
parent 6765f84133
commit c25305e80f

View File

@@ -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.