diff options
| author | JP Dillingham <jp@dillingham.me> | 2026-05-03 13:27:20 -0500 |
|---|---|---|
| committer | JP Dillingham <jp@dillingham.me> | 2026-05-03 13:27:20 -0500 |
| commit | a232848ee4f5539b0041e3581705edd00aec80f0 (patch) | |
| tree | 1a01336722c0b345e90f0c3dd7d4b900589dc26d | |
| parent | 402b4d7509c582bd2d93e73a33778068e660259e (diff) | |
| download | slskd-a232848ee4f5539b0041e3581705edd00aec80f0.tar.gz | |
clear any captured message when changing room/conversation
| -rw-r--r-- | src/web/src/components/Chat/Chat.jsx | 1 | ||||
| -rw-r--r-- | src/web/src/components/Rooms/Rooms.jsx | 1 |
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 () => { |
