don't display topics without any replies
This commit is contained in:
parent
b4c3db9d87
commit
33624a237c
2
iris.py
2
iris.py
|
@ -93,7 +93,7 @@ class Messages:
|
||||||
unread_reply_count += 1
|
unread_reply_count += 1
|
||||||
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
|
topic["unread"] = unread_reply_count
|
||||||
output.append(topic)
|
output.append(topic)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user