You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-05 23:10:41 +03:00
Comment scoping block
This commit is contained in:
@@ -1740,6 +1740,7 @@ export default class RoomView extends React.Component<IProps, IState> {
|
|||||||
|
|
||||||
let activeCall = null;
|
let activeCall = null;
|
||||||
{
|
{
|
||||||
|
// New block because this variable doesn't need to hang around for the rest of the function
|
||||||
const call = this.getCallForRoom();
|
const call = this.getCallForRoom();
|
||||||
if (call && (this.state.callState !== 'ended' && this.state.callState !== 'ringing')) {
|
if (call && (this.state.callState !== 'ended' && this.state.callState !== 'ringing')) {
|
||||||
activeCall = call;
|
activeCall = call;
|
||||||
|
|||||||
Reference in New Issue
Block a user