Fix over-simplified cypress test (#11294)
This commit is contained in:
parent
58db307cf2
commit
19d927f497
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue