ssb: Allow unread status for the mentions tab.
Some checks failed
Build Tilde Friends / Build-All (push) Has been cancelled

This commit is contained in:
2025-06-12 12:25:58 -04:00
parent 67861f0f33
commit 388b829ec1
3 changed files with 5 additions and 4 deletions

View File

@ -1,5 +1,5 @@
{
"type": "tildefriends-app",
"emoji": "🦀",
"previous": "&DZ1PgW4wWp4QeIiDhSpxSf5I/5WE7NjlMkqPnpSBhmc=.sha256"
"previous": "&M+oVNf65iZ1xz3Lzmq0k86SmIhRSX2q2SV4K9/dib1U=.sha256"
}

View File

@ -632,8 +632,8 @@ class TfMessageElement extends LitElement {
}
allow_unread() {
return;
!this.channel.startsWith('@') && !this.channel.startsWith('%');
return this.channel == '@' ||
(!this.channel.startsWith('@') && !this.channel.startsWith('%'));
}
render_unread_icon() {

View File

@ -276,7 +276,8 @@ class TfTabNewsFeedElement extends LitElement {
}
unread_allowed() {
return !this.hash.startsWith('#%') && !this.hash.startsWith('#@');
return this.hash == '#@' ||
(!this.hash.startsWith('#%') && !this.hash.startsWith('#@'));
}
async load_more() {