Daniel Brötzmann pushed to branch master at gajim / gajim
Commits:
26752631 by wurstsalat at 2022-12-14T20:13:22+01:00
fix: Notifications: Use correct nickname for /me messages
Fixes #11334
- - - - -
1 changed file:
- gajim/gtk/chat_stack.py
Changes:
=====================================
gajim/gtk/chat_stack.py
=====================================
@@ -443,7 +443,7 @@ def _issue_notification(self, event:
events.MessageReceived) -> None:
if text.startswith('/me') or text.startswith('/me\n'):
name = contact.name
if isinstance(contact, GroupchatContact):
- name = contact.nickname
+ name = event.properties.muc_nickname
text = f'* {name} {text[3:]}'
app.ged.raise_event(
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/267526313a02d7e74da8bb6065db78dad98a3574
--
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/267526313a02d7e74da8bb6065db78dad98a3574
You're receiving this email because of your account on dev.gajim.org.
_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits