From 33624a237c133b0a61780c79c164ce966997ad62 Mon Sep 17 00:00:00 2001 From: chiptune Date: Sun, 19 Nov 2023 01:14:13 -0600 Subject: [PATCH] don't display topics without any replies --- iris.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iris.py b/iris.py index 150b95e..26e140d 100755 --- a/iris.py +++ b/iris.py @@ -93,7 +93,7 @@ class Messages: unread_reply_count += 1 reply_count += 1 - if reply_count == 0 or unread_reply_count > 0: + if unread_reply_count > 0: topic["unread"] = unread_reply_count output.append(topic)