From edccab054a05ee7e76fa03f48ec4bd2d201a4c5a Mon Sep 17 00:00:00 2001 From: Cory McWilliams Date: Wed, 20 Aug 2025 20:40:02 -0400 Subject: [PATCH] ssb: Make the close chat button work even when a chat isn't preexisting. --- apps/ssb.json | 2 +- apps/ssb/tf-tab-news-feed.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/ssb.json b/apps/ssb.json index c92aef07..d52389b4 100644 --- a/apps/ssb.json +++ b/apps/ssb.json @@ -1,5 +1,5 @@ { "type": "tildefriends-app", "emoji": "🦀", - "previous": "&zJ76A1+RyfQ6zpNhfdvjWOLGt+cAwGaB4ZqEx4e2PNk=.sha256" + "previous": "&cANTBCvEndfHxpfZoEdwj8XPZB5CQgsktIV+bU5o/VI=.sha256" } diff --git a/apps/ssb/tf-tab-news-feed.js b/apps/ssb/tf-tab-news-feed.js index cec5cc0a..c5378484 100644 --- a/apps/ssb/tf-tab-news-feed.js +++ b/apps/ssb/tf-tab-news-feed.js @@ -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() {