Remove hardcoded id
This commit is contained in:
parent
b34de2c79d
commit
8a5a1f04e1
1 changed files with 2 additions and 2 deletions
|
@ -53,9 +53,9 @@ function JitsiRoom(props) {
|
|||
}, [mx, roomInfo]);
|
||||
|
||||
useEffect(() => {
|
||||
const topic = roomInfo.roomTimeline?.room.currentState.getStateEvents('m.room.topic')[0]?.getContent().topic
|
||||
if (
|
||||
roomInfo.roomTimeline?.room.currentState.getStateEvents('m.room.topic')[0]?.getContent()
|
||||
.topic === 'd38dd491fefa1cfffc27f9c57f2bdb4a' &&
|
||||
topic === TOPIC_JITSI_CALL &&
|
||||
!jitsiCallId
|
||||
) {
|
||||
setJitsiCallId(roomInfo.roomTimeline.roomId);
|
||||
|
|
Loading…
Reference in a new issue