Merge pull request #1093 from matrix-org/luke/undefined-room-alias-if-not-specified-view-room

When not specified, remove roomAlias state in RoomViewStore
pull/21833/head
David Baker 2017-06-14 14:17:06 +01:00 committed by GitHub
commit 302233db90
1 changed files with 1 additions and 0 deletions

View File

@ -123,6 +123,7 @@ class RoomViewStore extends Store {
if (payload.room_id) {
const newState = {
roomId: payload.room_id,
roomAlias: payload.room_alias,
initialEventId: payload.event_id,
initialEventPixelOffset: undefined,
isInitialEventHighlighted: payload.highlighted,