ssb: Make the close chat button work even when a chat isn't preexisting.
All checks were successful
Build Tilde Friends / Build-All (push) Successful in 31m39s
All checks were successful
Build Tilde Friends / Build-All (push) Successful in 31m39s
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"type": "tildefriends-app",
|
"type": "tildefriends-app",
|
||||||
"emoji": "🦀",
|
"emoji": "🦀",
|
||||||
"previous": "&zJ76A1+RyfQ6zpNhfdvjWOLGt+cAwGaB4ZqEx4e2PNk=.sha256"
|
"previous": "&cANTBCvEndfHxpfZoEdwj8XPZB5CQgsktIV+bU5o/VI=.sha256"
|
||||||
}
|
}
|
||||||
|
@@ -438,7 +438,6 @@ class TfTabNewsFeedElement extends LitElement {
|
|||||||
|
|
||||||
close_private_chat() {
|
close_private_chat() {
|
||||||
this.mark_all_read();
|
this.mark_all_read();
|
||||||
console.log(this.hash);
|
|
||||||
this.dispatchEvent(
|
this.dispatchEvent(
|
||||||
new CustomEvent('closeprivatechat', {
|
new CustomEvent('closeprivatechat', {
|
||||||
bubbles: true,
|
bubbles: true,
|
||||||
@@ -452,6 +451,7 @@ class TfTabNewsFeedElement extends LitElement {
|
|||||||
},
|
},
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
|
tfrpc.rpc.setHash('#');
|
||||||
}
|
}
|
||||||
|
|
||||||
render_close_chat_button() {
|
render_close_chat_button() {
|
||||||
|
Reference in New Issue
Block a user