1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-11 20:22:36 +03:00

Merge pull request #2019 from matrix-org/t3chguy/room_settings_leave_room

when the user switches room, close room settings
This commit is contained in:
David Baker
2018-06-26 17:15:19 +01:00
committed by GitHub

View File

@@ -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) {