diff options
-rw-r--r-- | poezio/tabs/basetabs.py | 2 | ||||
-rw-r--r-- | poezio/tabs/muctab.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/poezio/tabs/basetabs.py b/poezio/tabs/basetabs.py index 564de62d..33592c79 100644 --- a/poezio/tabs/basetabs.py +++ b/poezio/tabs/basetabs.py @@ -585,7 +585,7 @@ class ChatTab(Tab): def general_jid(self) -> JID: raise NotImplementedError - def log_message(self, message: BaseMessage, typ=1): + def log_message(self, message: BaseMessage, typ: int = 1): """ Log the messages in the archives. """ diff --git a/poezio/tabs/muctab.py b/poezio/tabs/muctab.py index 1991d70c..7fb6db11 100644 --- a/poezio/tabs/muctab.py +++ b/poezio/tabs/muctab.py @@ -1072,7 +1072,7 @@ class MucTab(ChatTab): """ return self.topic.replace('\n', '|') - def log_message(self, msg: Message, typ: int = 1) -> None: + def log_message(self, msg: BaseMessage, typ: int = 1) -> None: """ Log the messages in the archives, if it needs to be |