Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 236ca2e

Browse files
authored
Add missed removeListener (#9273)
1 parent 348a006 commit 236ca2e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/components/structures/RoomView.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -865,6 +865,7 @@ export class RoomView extends React.Component<IRoomProps, IRoomState> {
865865
if (this.context) {
866866
this.context.removeListener(ClientEvent.Room, this.onRoom);
867867
this.context.removeListener(RoomEvent.Timeline, this.onRoomTimeline);
868+
this.context.removeListener(RoomEvent.TimelineReset, this.onRoomTimelineReset);
868869
this.context.removeListener(RoomEvent.Name, this.onRoomName);
869870
this.context.removeListener(RoomStateEvent.Events, this.onRoomStateEvents);
870871
this.context.removeListener(RoomEvent.MyMembership, this.onMyMembership);

0 commit comments

Comments
 (0)