You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-12-04 05:02:41 +03:00
Update threads handling for replies-to-thread-responses as per MSC update (#2305)
* Update threads handling for replies-to-thread-responses as per MSC update * Update tests to match new behaviour
This commit is contained in:
committed by
GitHub
parent
db58a66e19
commit
540514c805
@@ -797,7 +797,7 @@ describe("MatrixClient", function() {
|
||||
]);
|
||||
});
|
||||
|
||||
it("sends reply to thread responses to thread timeline only", () => {
|
||||
it("sends reply to thread responses to main timeline only", () => {
|
||||
client.clientOpts = { experimentalThreadSupport: true };
|
||||
|
||||
const threadRootEvent = buildEventPollStartThreadRoot();
|
||||
@@ -814,12 +814,12 @@ describe("MatrixClient", function() {
|
||||
|
||||
expect(timeline).toEqual([
|
||||
threadRootEvent,
|
||||
replyToThreadResponse,
|
||||
]);
|
||||
|
||||
expect(threaded).toEqual([
|
||||
threadRootEvent,
|
||||
eventMessageInThread,
|
||||
replyToThreadResponse,
|
||||
]);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user