Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Hörist <philipp@hoerist.com>2022-09-28 23:09:33 +0300
committerPhilipp Hörist <philipp@hoerist.com>2022-09-28 23:10:04 +0300
commit5a7d980b186d0e4da42ecc15bad63c78dcfa78e9 (patch)
treed7fd8a3b0b22d5e82a0bb0ec0fe1033b534b9c6f
parentd7ff50f4e750a4ed5950ed25d7f17ad59d12a164 (diff)
fix: Notifications: Show correct message sender for MUC notifications
Fixes #11177
-rw-r--r--gajim/gtk/chat_stack.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gajim/gtk/chat_stack.py b/gajim/gtk/chat_stack.py
index 13e328241..2820a2a50 100644
--- a/gajim/gtk/chat_stack.py
+++ b/gajim/gtk/chat_stack.py
@@ -371,7 +371,7 @@ class ChatStack(Gtk.Stack, EventHelper):
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)