forked from mystiq/hydrogen-web
don't show reactions for redacted messages
This commit is contained in:
parent
787308375c
commit
5984e8dd6d
1 changed files with 3 additions and 1 deletions
|
@ -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");
|
||||||
|
|
Loading…
Reference in a new issue