Fix displaying already stopped broadcasts in the timeline (#9470)

This commit is contained in:
Michael Weimann
2022-10-20 12:17:38 +02:00
committed by GitHub
parent 3c9ba3e69f
commit d898af820b
3 changed files with 43 additions and 26 deletions
@@ -49,6 +49,7 @@ export const VoiceBroadcastBody: React.FC<IBodyProps> = ({ mxEvent }) => {
client,
);
relationsHelper.on(RelationsHelperEvent.Add, onInfoEvent);
relationsHelper.emitCurrent();
return () => {
relationsHelper.destroy();