Migrate broadcast MSC3912 redaction (#11014)
This commit is contained in:
parent
4c73903274
commit
1091e14a3d
2 changed files with 7 additions and 7 deletions
|
@ -94,7 +94,7 @@ describe("ConfirmRedactDialog", () => {
|
|||
await confirmDeleteVoiceBroadcastStartedEvent();
|
||||
});
|
||||
|
||||
it("should call redact without `with_relations`", () => {
|
||||
it("should call redact without `with_rel_types`", () => {
|
||||
expect(client.redactEvent).toHaveBeenCalledWith(roomId, mxEvent.getId(), undefined, {});
|
||||
});
|
||||
});
|
||||
|
@ -110,9 +110,9 @@ describe("ConfirmRedactDialog", () => {
|
|||
await confirmDeleteVoiceBroadcastStartedEvent();
|
||||
});
|
||||
|
||||
it("should call redact with `with_relations`", () => {
|
||||
it("should call redact with `with_rel_types`", () => {
|
||||
expect(client.redactEvent).toHaveBeenCalledWith(roomId, mxEvent.getId(), undefined, {
|
||||
with_relations: [RelationType.Reference],
|
||||
with_rel_types: [RelationType.Reference],
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue