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


Commits:
b22e27c4 by wurstsalat at 2021-11-03T00:51:40+01:00
ChatList: Don't update time if there is no valid timestamp

- - - - -


1 changed file:

- gajim/gtk/chat_list.py


Changes:

=====================================
gajim/gtk/chat_list.py
=====================================
@@ -633,6 +633,8 @@ def set_timestamp(self, timestamp):
         self.update_time()
 
     def update_time(self):
+        if self.timestamp == 0:
+            return
         self._ui.timestamp_label.set_text(
             get_uf_relative_time(self.timestamp))
 



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

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


_______________________________________________
Commits mailing list
Commits@gajim.org
https://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to