diff options
Diffstat (limited to 'poezio/multiuserchat.py')
-rw-r--r-- | poezio/multiuserchat.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/poezio/multiuserchat.py b/poezio/multiuserchat.py index f4383176..71b5cceb 100644 --- a/poezio/multiuserchat.py +++ b/poezio/multiuserchat.py @@ -10,6 +10,8 @@ Add some facilities that are not available on the XEP_0045 slix plugin """ +from __future__ import annotations + from xml.etree import ElementTree as ET from typing import ( Callable, @@ -103,7 +105,7 @@ def change_subject(xmpp: ClientXMPP, jid: JID, subject: str) -> None: def change_nick( - core: 'Core', + core: Core, jid: JID, nick: str, status: Optional[str] = None, @@ -120,14 +122,14 @@ def change_nick( def join_groupchat( - core: 'Core', + core: Core, jid: JID, nick: str, passwd: str = '', status: Optional[str] = None, show: Optional[str] = None, seconds: Optional[int] = None, - tab: Optional['Tab'] = None + tab: Optional[Tab] = None ) -> None: xmpp = core.xmpp stanza = xmpp.make_presence( |