Use getLocalFeeds() for better clarity
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
parent
e367725cce
commit
8d014b7fa2
1 changed files with 2 additions and 2 deletions
|
@ -592,10 +592,10 @@ export default class CallView extends React.Component<IProps, IState> {
|
||||||
mx_CallView_voice: true,
|
mx_CallView_voice: true,
|
||||||
});
|
});
|
||||||
|
|
||||||
const feeds = this.state.feeds.map((feed, i) => {
|
const feeds = this.props.call.getLocalFeeds().map((feed, i) => {
|
||||||
// Here we check to hide local audio feeds to achieve the same UI/UX
|
// 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
|
// as before. But once again this might be subject to change
|
||||||
if (feed.isVideoMuted() && feed.isLocal()) return;
|
if (feed.isVideoMuted()) return;
|
||||||
return (
|
return (
|
||||||
<VideoFeed
|
<VideoFeed
|
||||||
key={i}
|
key={i}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue