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:
authorPhilipp Hörist <philipp@hoerist.com>2022-10-02 22:07:23 +0300
committerPhilipp Hörist <philipp@hoerist.com>2022-10-02 22:07:23 +0300
commit3c1323e69311e0768646d44f10b847aaf83be77a (patch)
treea3dd09c5aa8bd0f6bb5ccd073928320e6b73671e
parent81dbde35036150e46fb18c9e4beece1ee82f23a1 (diff)
refactor: ChatListRow: Remove unused code
-rw-r--r--gajim/gtk/chat_list_row.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/gajim/gtk/chat_list_row.py b/gajim/gtk/chat_list_row.py
index a97a32966..00252932a 100644
--- a/gajim/gtk/chat_list_row.py
+++ b/gajim/gtk/chat_list_row.py
@@ -215,12 +215,6 @@ class ChatListRow(Gtk.ListBoxRow):
self.get_toplevel().get_property('is-active'))
@property
- def is_recent(self) -> bool:
- if self._unread_count:
- return True
- return False
-
- @property
def unread_count(self) -> int:
if (self.contact.is_groupchat and not self.contact.can_notify() and
not self._needs_muc_highlight):