mirror of https://github.com/vector-im/riot-web
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>pull/21833/head
parent
c4b6b458f2
commit
21978b18df
|
@ -147,6 +147,8 @@ class RoomViewStore extends Store {
|
||||||
joining: payload.joining || false,
|
joining: payload.joining || false,
|
||||||
// Reset replyingToEvent because we don't want cross-room because bad UX
|
// Reset replyingToEvent because we don't want cross-room because bad UX
|
||||||
replyingToEvent: null,
|
replyingToEvent: null,
|
||||||
|
// pull the user out of Room Settings
|
||||||
|
isEditingSettings: false,
|
||||||
};
|
};
|
||||||
|
|
||||||
if (this._state.forwardingEvent) {
|
if (this._state.forwardingEvent) {
|
||||||
|
|
Loading…
Reference in New Issue