aboutsummaryrefslogtreecommitdiffstats
path: root/src/web
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2026-05-03 13:27:20 -0500
committerJP Dillingham <jp@dillingham.me>2026-05-03 13:27:20 -0500
commita232848ee4f5539b0041e3581705edd00aec80f0 (patch)
tree1a01336722c0b345e90f0c3dd7d4b900589dc26d /src/web
parent402b4d7509c582bd2d93e73a33778068e660259e (diff)
downloadslskd-a232848ee4f5539b0041e3581705edd00aec80f0.tar.gz
clear any captured message when changing room/conversation
Diffstat (limited to 'src/web')
-rw-r--r--src/web/src/components/Chat/Chat.jsx1
-rw-r--r--src/web/src/components/Rooms/Rooms.jsx1
2 files changed, 2 insertions, 0 deletions
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 () => {