Fix reply permalinks having undefined room ID's
This commit is contained in:
parent
d9af4b6b7c
commit
8160b6d928
|
@ -92,12 +92,18 @@ async function mountHydrogen() {
|
|||
},
|
||||
};
|
||||
|
||||
const room = {
|
||||
name: roomData.name,
|
||||
id: roomData.id,
|
||||
avatarUrl: roomData.avatarUrl,
|
||||
avatarColorId: roomData.id,
|
||||
mediaRepository: mediaRepository,
|
||||
};
|
||||
|
||||
const tilesCreator = makeTilesCreator({
|
||||
platform,
|
||||
roomVM: {
|
||||
room: {
|
||||
mediaRepository,
|
||||
},
|
||||
room,
|
||||
},
|
||||
timeline,
|
||||
urlCreator,
|
||||
|
@ -161,14 +167,6 @@ async function mountHydrogen() {
|
|||
// },
|
||||
// };
|
||||
|
||||
const room = {
|
||||
name: roomData.name,
|
||||
id: roomData.id,
|
||||
avatarUrl: roomData.avatarUrl,
|
||||
avatarColorId: roomData.id,
|
||||
mediaRepository: mediaRepository,
|
||||
};
|
||||
|
||||
const roomViewModel = new RoomViewModel({
|
||||
room,
|
||||
ownUserId: 'xxx',
|
||||
|
|
Loading…
Reference in New Issue