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
commit 10e39d5a5d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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