Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'gajim/gtk/chat_list_row.py')
-rw-r--r--gajim/gtk/chat_list_row.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/gajim/gtk/chat_list_row.py b/gajim/gtk/chat_list_row.py
index 5bb4aa4e0..f8b709550 100644
--- a/gajim/gtk/chat_list_row.py
+++ b/gajim/gtk/chat_list_row.py
@@ -357,6 +357,10 @@ class ChatListRow(Gtk.ListBoxRow):
self._ui.timestamp_label.set_text(
get_uf_relative_time(datetime.fromtimestamp(self.timestamp)))
+ def update_state(self) -> None:
+ self.update_time()
+ self._ui.mute_image.set_visible(self.contact.is_muted)
+
def add_unread(self, text: str) -> None:
self._unread_count += 1
self._update_unread()