From 5a7d980b186d0e4da42ecc15bad63c78dcfa78e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20H=C3=B6rist?= Date: Wed, 28 Sep 2022 22:09:33 +0200 Subject: fix: Notifications: Show correct message sender for MUC notifications Fixes #11177 --- gajim/gtk/chat_stack.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3