ssb: Fix private messages starting with unread status when there are none.
This commit is contained in:
parent
683fdbb02a
commit
aea631138e
@ -1,5 +1,5 @@
|
||||
{
|
||||
"type": "tildefriends-app",
|
||||
"emoji": "🦀",
|
||||
"previous": "&XjeQP84BXBKSEViNV3c10QisKyGv14Kngfwx3IqorX8=.sha256"
|
||||
"previous": "&SM9hI4To1+vk52CT8S2VvnhAynikIX27IFxqZIfNGAY=.sha256"
|
||||
}
|
||||
|
@ -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])
|
||||
) {
|
||||
|
Loading…
Reference in New Issue
Block a user