Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 302233d

Browse files
authored
Merge pull request #1093 from matrix-org/luke/undefined-room-alias-if-not-specified-view-room
When not specified, remove roomAlias state in RoomViewStore
2 parents 74a74bc + f25c081 commit 302233d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/stores/RoomViewStore.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ class RoomViewStore extends Store {
123123
if (payload.room_id) {
124124
const newState = {
125125
roomId: payload.room_id,
126+
roomAlias: payload.room_alias,
126127
initialEventId: payload.event_id,
127128
initialEventPixelOffset: undefined,
128129
isInitialEventHighlighted: payload.highlighted,

0 commit comments

Comments
 (0)