You've already forked matrix-react-sdk
							
							
				mirror of
				https://github.com/matrix-org/matrix-react-sdk.git
				synced 2025-11-03 00:33:22 +03:00 
			
		
		
		
	Proper init in constructors
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
		@@ -156,7 +156,7 @@ class LoggedInView extends React.Component<IProps, IState> {
 | 
				
			|||||||
            // use compact timeline view
 | 
					            // use compact timeline view
 | 
				
			||||||
            useCompactLayout: SettingsStore.getValue('useCompactLayout'),
 | 
					            useCompactLayout: SettingsStore.getValue('useCompactLayout'),
 | 
				
			||||||
            usageLimitDismissed: false,
 | 
					            usageLimitDismissed: false,
 | 
				
			||||||
            activeCalls: [],
 | 
					            activeCalls: CallHandler.sharedInstance().getAllActiveCalls(),
 | 
				
			||||||
        };
 | 
					        };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        // stash the MatrixClient in case we log out before we are unmounted
 | 
					        // stash the MatrixClient in case we log out before we are unmounted
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -32,7 +32,7 @@ export default class AudioFeedArrayForCall extends React.Component<IProps, IStat
 | 
				
			|||||||
        super(props);
 | 
					        super(props);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        this.state = {
 | 
					        this.state = {
 | 
				
			||||||
            feeds: [],
 | 
					            feeds: this.props.call.getRemoteFeeds(),
 | 
				
			||||||
        };
 | 
					        };
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user