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/b22e27c4a6bfdbff4deb0ec02205719b7...