From ca4d09e923ae795d08fc2c69102cc571ef0828ae Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Wed, 26 May 2021 13:08:54 +0200 Subject: [PATCH] add logging and return promise from Tile.redact --- src/domain/session/room/timeline/tiles/BaseMessageTile.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/domain/session/room/timeline/tiles/BaseMessageTile.js b/src/domain/session/room/timeline/tiles/BaseMessageTile.js index 2e7e5ad7..3e4e1569 100644 --- a/src/domain/session/room/timeline/tiles/BaseMessageTile.js +++ b/src/domain/session/room/timeline/tiles/BaseMessageTile.js @@ -98,7 +98,7 @@ export class BaseMessageTile extends SimpleTile { } } - redact(reason) { - this._room.sendRedaction(this._entry.id, reason); + redact(reason, log) { + return this._room.sendRedaction(this._entry.id, reason, log); } }