Daniel Brötzmann pushed to branch master at gajim / gajim


Commits:
de79ed08 by wurstsalat at 2023-11-03T20:12:02+01:00
cq: Fix _on_draft_update content type

- - - - -


1 changed file:

- gajim/gtk/chat_list_row.py


Changes:

=====================================
gajim/gtk/chat_list_row.py
=====================================
@@ -414,7 +414,7 @@ def _on_draft_update(self,
                          _draft_storage: DraftStorage,
                          _signal_name: str,
                          contact: ChatContactT,
-                         draft: str
+                         draft: str | None
                          ) -> None:
 
         if contact != self.contact:
@@ -422,7 +422,7 @@ def _on_draft_update(self,
 
         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()



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/de79ed087629ad10dda0857a1abfe6362b918dd4

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/de79ed087629ad10dda0857a1abfe6362b918dd4
You're receiving this email because of your account on dev.gajim.org.


_______________________________________________
Commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to