From 64f5fc290f0362f09c461979daabd5247190186e Mon Sep 17 00:00:00 2001 From: kieran Date: Thu, 23 May 2024 12:16:36 +0100 Subject: [PATCH] fix: chat auto-scroll --- src/element/chat/live-chat.tsx | 1 - src/pages/dashboard/dashboard.tsx | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/element/chat/live-chat.tsx b/src/element/chat/live-chat.tsx index ded5960..7ed62c6 100644 --- a/src/element/chat/live-chat.tsx +++ b/src/element/chat/live-chat.tsx @@ -216,7 +216,6 @@ export function LiveChat({ return null; })} {feed.length === 0 && } -
{(canWrite ?? true) && (
diff --git a/src/pages/dashboard/dashboard.tsx b/src/pages/dashboard/dashboard.tsx index f594c6a..9544c85 100644 --- a/src/pages/dashboard/dashboard.tsx +++ b/src/pages/dashboard/dashboard.tsx @@ -214,7 +214,7 @@ export function DashboardForLink({ link }: { link: NostrLink }) { {streamLink && status === StreamState.Live && ( <> -
+
{ window.open(`${window.location.protocol}//${window.location.host}/chat/${link.encode()}?chat=true`, "", "popup=true,width=400,height=800") }}>