diff --git a/src/app/chat/[id]/page.tsx b/src/app/chat/[id]/page.tsx index 7fa696e..db8929c 100644 --- a/src/app/chat/[id]/page.tsx +++ b/src/app/chat/[id]/page.tsx @@ -40,7 +40,7 @@ export default function DMs() { (m.from === id && m.channel_id === app.profile?.id) )} sendMessage={(message) => { - app.node.current?.send( + targetNode.current?.send( JSON.stringify({ type: "send_message", params: {