Rename audioOnly to videoMuted

This makes more sense and will match a possible mute events MSC

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
Šimon Brandner 2021-04-04 08:50:25 +02:00
parent 346784e530
commit 9324dec0d6
No known key found for this signature in database
GPG key ID: 9760693FDD98A790
2 changed files with 12 additions and 7 deletions

View file

@ -614,7 +614,7 @@ export default class CallView extends React.Component<IProps, IState> {
const feeds = this.state.feeds.map((feed, i) => {
// Here we check to hide local audio feeds to achieve the same UI/UX
// as before. But once again this might be subject to change
if (feed.isAudioOnly() && feed.isLocal()) return;
if (feed.isVideoMuted() && feed.isLocal()) return;
return (
<VideoFeed
key={i}