Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
pull/21833/head
Šimon Brandner 2021-07-12 09:52:32 +02:00
parent 113b6319b1
commit 4ef8c9fd29
No known key found for this signature in database
GPG Key ID: 9760693FDD98A790
1 changed files with 1 additions and 1 deletions

View File

@ -240,7 +240,7 @@ export default class CallPreview extends React.Component<IProps, IState> {
this.scheduledUpdate.mark(); this.scheduledUpdate.mark();
}; };
private onRoomViewStoreUpdate = (payload) => { private onRoomViewStoreUpdate = () => {
if (RoomViewStore.getRoomId() === this.state.roomId) return; if (RoomViewStore.getRoomId() === this.state.roomId) return;
const roomId = RoomViewStore.getRoomId(); const roomId = RoomViewStore.getRoomId();