don't show reactions for redacted messages

This commit is contained in:
Bruno Windels 2021-06-24 14:49:43 +02:00
parent 787308375c
commit 5984e8dd6d

View File

@ -115,8 +115,10 @@ export class BaseMessageTile extends SimpleTile {
} }
get reactions() { get reactions() {
if (this.shape !== "redacted") {
return this._reactions; return this._reactions;
} }
}
get canReact() { get canReact() {
return this._powerLevels.canSendType("m.reaction"); return this._powerLevels.canSendType("m.reaction");