diff options
author | mathieui <mathieui@mathieui.net> | 2020-05-24 14:48:40 +0200 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2020-05-24 14:48:40 +0200 |
commit | 3132b2495344b178e47cceda29e39c6c0a4b4e0e (patch) | |
tree | 96d2b01d751423c76b93a32e92b0c7b581d7c377 | |
parent | e48780ddf0a6a80e0c36eaa8f8165c8d14ad63b1 (diff) | |
download | poezio-3132b2495344b178e47cceda29e39c6c0a4b4e0e.tar.gz poezio-3132b2495344b178e47cceda29e39c6c0a4b4e0e.tar.bz2 poezio-3132b2495344b178e47cceda29e39c6c0a4b4e0e.tar.xz poezio-3132b2495344b178e47cceda29e39c6c0a4b4e0e.zip |
Fix a type collision between Messages
-rw-r--r-- | poezio/tabs/basetabs.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/poezio/tabs/basetabs.py b/poezio/tabs/basetabs.py index a42ee41b..a0adb6da 100644 --- a/poezio/tabs/basetabs.py +++ b/poezio/tabs/basetabs.py @@ -48,7 +48,7 @@ from poezio.ui.funcs import truncate_nick from poezio.ui.consts import LONG_FORMAT_LENGTH from poezio.ui.types import BaseMessage, InfoMessage -from slixmpp import JID, InvalidJID, Message +from slixmpp import JID, InvalidJID, Message as SMessage if TYPE_CHECKING: from _curses import _CursesWindow # pylint: disable=E0611 @@ -638,7 +638,7 @@ class ChatTab(Tab): if message: message.send() - def generate_xhtml_message(self, arg: str) -> Message: + def generate_xhtml_message(self, arg: str) -> SMessage: if not arg: return try: |