From a232848ee4f5539b0041e3581705edd00aec80f0 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Sun, 3 May 2026 13:27:20 -0500 Subject: clear any captured message when changing room/conversation --- src/web/src/components/Chat/Chat.jsx | 1 + src/web/src/components/Rooms/Rooms.jsx | 1 + 2 files changed, 2 insertions(+) (limited to 'src/web') diff --git a/src/web/src/components/Chat/Chat.jsx b/src/web/src/components/Chat/Chat.jsx index 0a080466..72960129 100644 --- a/src/web/src/components/Chat/Chat.jsx +++ b/src/web/src/components/Chat/Chat.jsx @@ -147,6 +147,7 @@ class Chat extends Component { { active: username, loading: true, + message: '', }, async () => { const { active, conversations } = this.state; diff --git a/src/web/src/components/Rooms/Rooms.jsx b/src/web/src/components/Rooms/Rooms.jsx index d30828eb..0b1366fd 100644 --- a/src/web/src/components/Rooms/Rooms.jsx +++ b/src/web/src/components/Rooms/Rooms.jsx @@ -118,6 +118,7 @@ class Rooms extends Component { { active: roomName, loading: true, + message: '', room: initialState.room, }, async () => { -- cgit v1.2.3