diff --git a/src/components/views/voip/CallViewSidebar.tsx b/src/components/views/voip/CallViewSidebar.tsx index a8c6eed5a2..2ae62cfb59 100644 --- a/src/components/views/voip/CallViewSidebar.tsx +++ b/src/components/views/voip/CallViewSidebar.tsx @@ -27,7 +27,11 @@ interface IProps { export default class CallViewSidebar extends React.Component { 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 if ( this.props.call.isLocalVideoMuted()