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

This commit is contained in:
2025-08-20 20:40:02 -04:00
parent e8210c6fdd
commit edccab054a
2 changed files with 2 additions and 2 deletions

View File

@@ -1,5 +1,5 @@
{
"type": "tildefriends-app",
"emoji": "🦀",
"previous": "&zJ76A1+RyfQ6zpNhfdvjWOLGt+cAwGaB4ZqEx4e2PNk=.sha256"
"previous": "&cANTBCvEndfHxpfZoEdwj8XPZB5CQgsktIV+bU5o/VI=.sha256"
}

View File

@@ -438,7 +438,6 @@ class TfTabNewsFeedElement extends LitElement {
close_private_chat() {
this.mark_all_read();
console.log(this.hash);
this.dispatchEvent(
new CustomEvent('closeprivatechat', {
bubbles: true,
@@ -452,6 +451,7 @@ class TfTabNewsFeedElement extends LitElement {
},
})
);
tfrpc.rpc.setHash('#');
}
render_close_chat_button() {