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

Commits:
23add367 by Roland Pallai at 2018-03-25T22:46:51+02:00
Fix regression in a4291a27

- - - - -


1 changed file:

- gajim/groupchat_control.py


Changes:

=====================================
gajim/groupchat_control.py
=====================================
--- a/gajim/groupchat_control.py
+++ b/gajim/groupchat_control.py
@@ -1404,7 +1404,7 @@ class GroupchatControl(ChatControlBase):
             sound = 'received'
 
         # Is it a history message? Don't want sound-floods when we join.
-        if tim - time.mktime(time.localtime()) > 1:
+        if time.mktime(time.localtime()) - tim > 1:
             sound = None
 
         return (highlight, sound)



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/commit/23add367be7aa0deb60a4461437344e0fbd911ff

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