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


Commits:
77f9ed9a by wurstsalat at 2025-10-24T22:07:19+02:00
fix: Contact info: Only allow renaming contact if contact is in roster

Fixes #12504

- - - - -


1 changed file:

- gajim/gtk/contact_info.py


Changes:

=====================================
gajim/gtk/contact_info.py
=====================================
@@ -130,9 +130,8 @@ def __init__(
         self._load_avatar()
 
         self._contact_name_widget = ContactNameWidget(
-            contact=self.contact, edit_mode=True
+            contact=self.contact, edit_mode=self.contact.is_in_roster
         )
-
         self._connect(
             self._contact_name_widget, "name-updated", 
self._on_contact_name_updated
         )



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

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