You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-11 20:22:36 +03:00
@@ -27,7 +27,11 @@ interface IProps {
|
|||||||
|
|
||||||
export default class CallViewSidebar extends React.Component<IProps> {
|
export default class CallViewSidebar extends React.Component<IProps> {
|
||||||
render() {
|
render() {
|
||||||
const feeds = this.props.feeds.map((feed) => {
|
const feeds = this.props.feeds.sort((a, b) => {
|
||||||
|
if (!a.isLocal() && b.isLocal()) return -1;
|
||||||
|
else if (a.isLocal() && !b.isLocal()) return 1;
|
||||||
|
return 0;
|
||||||
|
}).map((feed) => {
|
||||||
// Hide local video feed if video is off
|
// Hide local video feed if video is off
|
||||||
if (
|
if (
|
||||||
this.props.call.isLocalVideoMuted()
|
this.props.call.isLocalVideoMuted()
|
||||||
|
|||||||
Reference in New Issue
Block a user