Philipp Hörist pushed to branch master at gajim / gajim


Commits:
2caa3b66 by Philipp Hörist at 2025-08-08T23:13:39+02:00
fix: ChatList: Update contact nicknames on change

Fixes #12423

- - - - -


1 changed file:

- gajim/common/modules/roster.py


Changes:

=====================================
gajim/common/modules/roster.py
=====================================
@@ -145,6 +145,12 @@ def _process_roster_push(self,
         app.ged.raise_event(RosterPush(account=self._account,
                                        item=item))
 
+        contact = self._con.get_module('Contacts').get_contact(item.jid)
+        if contact is None:
+            return
+
+        contact.notify('nickname-update')
+
         raise nbxmpp.NodeProcessed
 
     def get_item(self, jid: JID) -> RosterItem | None:



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

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