mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2025-01-11 04:27:40 +01:00
add logging and return promise from Tile.redact
This commit is contained in:
parent
a5d5c55835
commit
ca4d09e923
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user