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

Commit 47cc8d6

Browse files
authored
Don't double-add events to threads in tests (#9742)
1 parent 43f1758 commit 47cc8d6

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

test/test-utils/threads.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,6 @@ export const mkThread = ({
137137
const thread = room.createThread(rootEvent.getId(), rootEvent, events, true);
138138
// So that we do not have to mock the thread loading
139139
thread.initialEventsFetched = true;
140-
thread.addEvents(events, false);
141140

142141
return { thread, rootEvent, events };
143142
};

0 commit comments

Comments
 (0)