Voice Broadcast live state / extract RelationsHelper (#9432)

* Extract RelationsHelper

* Make RelationsHelper.relations optional
This commit is contained in:
Michael Weimann 2022-10-17 14:31:03 +02:00 committed by GitHub
parent e38c9e036c
commit 1b74782854
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 328 additions and 42 deletions

View file

@ -31,6 +31,7 @@ export const VoiceBroadcastPlaybackBody: React.FC<VoiceBroadcastPlaybackBodyProp
playback,
}) => {
const {
live,
room,
sender,
toggle,
@ -40,7 +41,7 @@ export const VoiceBroadcastPlaybackBody: React.FC<VoiceBroadcastPlaybackBodyProp
return (
<div className="mx_VoiceBroadcastPlaybackBody">
<VoiceBroadcastHeader
live={false}
live={live}
sender={sender}
room={room}
showBroadcast={true}