componentxmpp: fix default host for components
This commit is contained in:
parent
6765f84133
commit
c25305e80f
@ -95,7 +95,7 @@ class ComponentXMPP(BaseXMPP):
|
|||||||
for st in Message, Iq, Presence:
|
for st in Message, Iq, Presence:
|
||||||
register_stanza_plugin(st, Error)
|
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.
|
"""Connect to the server.
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user