You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-07-30 04:23:07 +03:00
Fix handling of threaded messages around edits & echoes (#2267)
This commit is contained in:
committed by
GitHub
parent
3322b47b6d
commit
dde4285cdf
@ -981,7 +981,7 @@ describe("MatrixClient", function() {
|
||||
|
||||
expect(rootEvent.isThreadRoot).toBe(true);
|
||||
|
||||
const [roomEvents, threadEvents] = client.partitionThreadedEvents(room, [rootEvent]);
|
||||
const [roomEvents, threadEvents] = room.partitionThreadedEvents([rootEvent]);
|
||||
expect(roomEvents).toHaveLength(1);
|
||||
expect(threadEvents).toHaveLength(1);
|
||||
|
||||
|
Reference in New Issue
Block a user