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


Commits:
de21d7f6 by wurstsalat at 2025-08-02T14:44:26+02:00
fix: Chat function page: Set contact name correctly for 'Note to myself'

- - - - -


1 changed file:

- gajim/gtk/chat_function_page.py


Changes:

=====================================
gajim/gtk/chat_function_page.py
=====================================
@@ -147,7 +147,10 @@ def set_mode(
         self._mode = mode
         self._data = data
 
-        self._heading.set_text(self._contact.name)
+        if isinstance(contact, BareContact) and contact.is_self:
+            self._heading.set_text(_("Note to myself"))
+        else:
+            self._heading.set_text(self._contact.name)
 
         if mode == FunctionMode.INVITE:
             self._confirm_button.set_label(_("Invite"))



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

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/de21d7f62e64aa72d9b97fe049878f86cb726c3e
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