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


Commits:
89db1f0f by Philipp Hörist at 2024-05-01T10:20:05+02:00
refactor: Remove unnecessary condition

- - - - -


1 changed file:

- gajim/gtk/chat_stack.py


Changes:

=====================================
gajim/gtk/chat_stack.py
=====================================
@@ -439,8 +439,7 @@ def _issue_notification(
             if not contact.can_notify() and not needs_highlight:
                 return
 
-            if contact.can_notify() or needs_highlight:
-                set_urgency_hint(app.window, True)
+            set_urgency_hint(app.window, True)
 
         if isinstance(contact, GroupchatParticipant):
             msg_type = 'private-chat-message'



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/89db1f0f19858786944401cec880f3d863156cbb

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


_______________________________________________
Commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to