From de79ed087629ad10dda0857a1abfe6362b918dd4 Mon Sep 17 00:00:00 2001 From: wurstsalat Date: Wed, 1 Nov 2023 20:57:00 +0100 Subject: cq: Fix _on_draft_update content type --- gajim/gtk/chat_list_row.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gajim/gtk/chat_list_row.py b/gajim/gtk/chat_list_row.py index ed8cf3fec..5bb4aa4e0 100644 --- a/gajim/gtk/chat_list_row.py +++ b/gajim/gtk/chat_list_row.py @@ -414,7 +414,7 @@ class ChatListRow(Gtk.ListBoxRow): _draft_storage: DraftStorage, _signal_name: str, contact: ChatContactT, - draft: str + draft: str | None ) -> None: if contact != self.contact: @@ -422,7 +422,7 @@ class ChatListRow(Gtk.ListBoxRow): self._show_draft(draft) - def _show_draft(self, draft: str) -> None: + def _show_draft(self, draft: str | None) -> None: if not draft: self._ui.message_label.get_style_context().remove_class('draft') self._display_last_conversation_line() -- cgit v1.2.3