Daniel Brötzmann pushed to branch master at gajim / gajim


Commits:
0b0f9ba9 by wurstsalat at 2023-03-02T09:25:03+01:00
fix: Notifications: Honor notification_preview_message setting

- - - - -


1 changed file:

- gajim/gtk/chat_stack.py


Changes:

=====================================
gajim/gtk/chat_stack.py
=====================================
@@ -454,6 +454,8 @@ def _issue_notification(self, event: 
events.MessageReceived) -> None:
                 if isinstance(contact, GroupchatContact):
                     name = event.properties.muc_nickname
                 text = f'* {name} {text[3:]}'
+        else:
+            text = ''
 
         app.ged.raise_event(
             events.Notification(account=contact.account,



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/0b0f9ba9ff1dcbacdc628744247a4440d389181b

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

Reply via email to