Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwurstsalat <mailtrash@posteo.de>2023-11-01 22:57:00 +0300
committerwurstsalat <mailtrash@posteo.de>2023-11-03 22:12:02 +0300
commitde79ed087629ad10dda0857a1abfe6362b918dd4 (patch)
tree41885adda7b2a0db132cccc8d692793bf9f339cd
parent6290b885221386b0fa6169e1771094ef5e5a7dad (diff)
cq: Fix _on_draft_update content type
-rw-r--r--gajim/gtk/chat_list_row.py4
1 files 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()