add logging and return promise from Tile.redact
This commit is contained in:
parent
a5d5c55835
commit
ca4d09e923
1 changed files with 2 additions and 2 deletions
|
@ -98,7 +98,7 @@ export class BaseMessageTile extends SimpleTile {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
redact(reason) {
|
redact(reason, log) {
|
||||||
this._room.sendRedaction(this._entry.id, reason);
|
return this._room.sendRedaction(this._entry.id, reason, log);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue