mirror of
https://github.com/vector-im/element-web.git
synced 2025-08-31 11:21:07 +02:00
when the user switches room, close room settings
this is especially annoying if they choose Leave Room which indirectly switches room Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
c4b6b458f2
commit
21978b18df
@ -147,6 +147,8 @@ class RoomViewStore extends Store {
|
||||
joining: payload.joining || false,
|
||||
// Reset replyingToEvent because we don't want cross-room because bad UX
|
||||
replyingToEvent: null,
|
||||
// pull the user out of Room Settings
|
||||
isEditingSettings: false,
|
||||
};
|
||||
|
||||
if (this._state.forwardingEvent) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user