Merge pull request #1093 from matrix-org/luke/undefined-room-alias-if-not-specified-view-room
When not specified, remove roomAlias state in RoomViewStore
This commit is contained in:
commit
302233db90
1 changed files with 1 additions and 0 deletions
|
@ -123,6 +123,7 @@ class RoomViewStore extends Store {
|
||||||
if (payload.room_id) {
|
if (payload.room_id) {
|
||||||
const newState = {
|
const newState = {
|
||||||
roomId: payload.room_id,
|
roomId: payload.room_id,
|
||||||
|
roomAlias: payload.room_alias,
|
||||||
initialEventId: payload.event_id,
|
initialEventId: payload.event_id,
|
||||||
initialEventPixelOffset: undefined,
|
initialEventPixelOffset: undefined,
|
||||||
isInitialEventHighlighted: payload.highlighted,
|
isInitialEventHighlighted: payload.highlighted,
|
||||||
|
|
Loading…
Reference in a new issue