ssb: Fix private messages starting with unread status when there are none.

This commit is contained in:
2024-12-27 13:25:40 -05:00
parent 683fdbb02a
commit aea631138e
2 changed files with 2 additions and 1 deletions

View File

@ -112,6 +112,7 @@ class TfTabNewsElement extends LitElement {
unread_status(channel) {
if (
this.channels_latest[channel] &&
this.channels_latest[channel] > 0 &&
(this.channels_unread[channel] === undefined ||
this.channels_unread[channel] <= this.channels_latest[channel])
) {