From a548c836473d7f1b9787f66f598bdba545953568 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Tue, 26 Jun 2018 17:07:39 +0100 Subject: [PATCH] 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> --- src/stores/RoomViewStore.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/stores/RoomViewStore.js b/src/stores/RoomViewStore.js index 923c073065..35cfe69086 100644 --- a/src/stores/RoomViewStore.js +++ b/src/stores/RoomViewStore.js @@ -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) {