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


Commits:
5a7d980b by Philipp Hörist at 2022-09-28T22:10:04+02:00
fix: Notifications: Show correct message sender for MUC notifications

Fixes #11177

- - - - -


1 changed file:

- gajim/gtk/chat_stack.py


Changes:

=====================================
gajim/gtk/chat_stack.py
=====================================
@@ -371,7 +371,7 @@ def _issue_notification(self, event: 
events.MessageReceived) -> None:
 
         if isinstance(contact, GroupchatContact):
             msg_type = 'group-chat-message'
-            title += f' {contact.nickname} ({contact.name})'
+            title += f' {event.resource} ({contact.name})'
             assert contact.nickname is not None
             needs_highlight = helpers.message_needs_highlight(
                 text, contact.nickname, client.get_own_jid().bare)



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

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


_______________________________________________
Commits mailing list
Commits@gajim.org
https://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to