ssb: Allow unread status for the mentions tab.
Some checks failed
Build Tilde Friends / Build-All (push) Has been cancelled
Some checks failed
Build Tilde Friends / Build-All (push) Has been cancelled
This commit is contained in:
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"type": "tildefriends-app",
|
"type": "tildefriends-app",
|
||||||
"emoji": "🦀",
|
"emoji": "🦀",
|
||||||
"previous": "&DZ1PgW4wWp4QeIiDhSpxSf5I/5WE7NjlMkqPnpSBhmc=.sha256"
|
"previous": "&M+oVNf65iZ1xz3Lzmq0k86SmIhRSX2q2SV4K9/dib1U=.sha256"
|
||||||
}
|
}
|
||||||
|
@ -632,8 +632,8 @@ class TfMessageElement extends LitElement {
|
|||||||
}
|
}
|
||||||
|
|
||||||
allow_unread() {
|
allow_unread() {
|
||||||
return;
|
return this.channel == '@' ||
|
||||||
!this.channel.startsWith('@') && !this.channel.startsWith('%');
|
(!this.channel.startsWith('@') && !this.channel.startsWith('%'));
|
||||||
}
|
}
|
||||||
|
|
||||||
render_unread_icon() {
|
render_unread_icon() {
|
||||||
|
@ -276,7 +276,8 @@ class TfTabNewsFeedElement extends LitElement {
|
|||||||
}
|
}
|
||||||
|
|
||||||
unread_allowed() {
|
unread_allowed() {
|
||||||
return !this.hash.startsWith('#%') && !this.hash.startsWith('#@');
|
return this.hash == '#@' ||
|
||||||
|
(!this.hash.startsWith('#%') && !this.hash.startsWith('#@'));
|
||||||
}
|
}
|
||||||
|
|
||||||
async load_more() {
|
async load_more() {
|
||||||
|
Reference in New Issue
Block a user