ssb: Fix an issue where private messages weren't showing up after marked read.
All checks were successful
Build Tilde Friends / Build-All (push) Successful in 18m26s
All checks were successful
Build Tilde Friends / Build-All (push) Successful in 18m26s
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"type": "tildefriends-app",
|
||||
"emoji": "🦀",
|
||||
"previous": "&8FMOhPO4AEs9qZRm6h9vLmm4Ed7TxBJ8EqW8I4RuCY0=.sha256"
|
||||
"previous": "&eAjYZEvYgIFuc1RGphOEtr21HMnhCMUe3ppKJ3e+IwM=.sha256"
|
||||
}
|
||||
|
||||
@@ -709,7 +709,8 @@ class TfElement extends LitElement {
|
||||
@closeprivatechat=${this.close_private_chat}
|
||||
.connections=${this.connections}
|
||||
.private_messages=${this.private_messages}
|
||||
.grouped_private_messages=${this.visible_private()}
|
||||
.visible_private_messages=${this.visible_private()}
|
||||
.grouped_private_messages=${this.grouped_private_messages}
|
||||
.recent_reactions=${this.recent_reactions}
|
||||
?is_administrator=${this.is_administrator}
|
||||
?stay_connected=${this.stay_connected}
|
||||
|
||||
@@ -25,6 +25,7 @@ class TfTabNewsElement extends LitElement {
|
||||
connections: {type: Array},
|
||||
private_messages: {type: Array},
|
||||
grouped_private_messages: {type: Object},
|
||||
visible_private_messages: {type: Object},
|
||||
recent_reactions: {type: Array},
|
||||
peer_exchange: {type: Boolean},
|
||||
is_administrator: {type: Boolean},
|
||||
@@ -242,7 +243,7 @@ class TfTabNewsElement extends LitElement {
|
||||
style=${this.hash == '#👍' ? 'font-weight: bold' : undefined}
|
||||
>${this.unread_status('👍')}👍votes</a
|
||||
>
|
||||
${Object.keys(this?.grouped_private_messages ?? [])
|
||||
${Object.keys(this?.visible_private_messages ?? [])
|
||||
?.sort()
|
||||
?.map(
|
||||
(key) => html`
|
||||
|
||||
Reference in New Issue
Block a user