You've already forked element-web
mirror of
https://github.com/element-hq/element-web.git
synced 2025-11-29 21:23:11 +03:00
Make more of the codebase conform to strict types (#10859)
This commit is contained in:
committed by
GitHub
parent
6f58dd49e3
commit
f758cbd38a
@@ -1461,7 +1461,7 @@ export class RoomView extends React.Component<IRoomProps, IRoomState> {
|
||||
this.updateRoomMembers();
|
||||
};
|
||||
|
||||
private onMyMembership = (room: Room, membership: string, oldMembership: string): void => {
|
||||
private onMyMembership = (room: Room): void => {
|
||||
if (room.roomId === this.state.roomId) {
|
||||
this.forceUpdate();
|
||||
this.loadMembersIfJoined(room);
|
||||
|
||||
Reference in New Issue
Block a user