mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-15 20:54:59 +08:00
Don't double-add events to threads in tests (#9742)
This commit is contained in:
parent
43f175892a
commit
47cc8d6edf
@ -137,7 +137,6 @@ export const mkThread = ({
|
||||
const thread = room.createThread(rootEvent.getId(), rootEvent, events, true);
|
||||
// So that we do not have to mock the thread loading
|
||||
thread.initialEventsFetched = true;
|
||||
thread.addEvents(events, false);
|
||||
|
||||
return { thread, rootEvent, events };
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user