Fix over-simplified cypress test (#11294)

This commit is contained in:
Michael Telatynski 2023-07-19 04:43:57 +01:00 committed by GitHub
parent 58db307cf2
commit 19d927f497
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -46,6 +46,9 @@ describe("Read receipts", () => {
getId: () => eventResponse.event_id, getId: () => eventResponse.event_id,
threadRootId, threadRootId,
getTs: () => 1, getTs: () => 1,
isRelation: (relType) => {
return !relType || relType === "m.thread";
},
} as any as MatrixEvent; } as any as MatrixEvent;
}; };