add logging and return promise from Tile.redact

This commit is contained in:
Bruno Windels 2021-05-26 13:08:54 +02:00
parent a5d5c55835
commit ca4d09e923

View file

@ -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);
}
}