mirror of
https://github.com/element-hq/element-web.git
synced 2024-12-18 07:22:08 +03:00
Merge pull request #4626 from matrix-org/t3chguy/redact_react
Fix reacting to redactions
This commit is contained in:
commit
f4d69a9844
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ export function isContentActionable(mxEvent) {
|
|||
// status is SENT before remote-echo, null after
|
||||
const isSent = !eventStatus || eventStatus === EventStatus.SENT;
|
||||
|
||||
if (isSent) {
|
||||
if (isSent && !mxEvent.isRedacted()) {
|
||||
if (mxEvent.getType() === 'm.room.message') {
|
||||
const content = mxEvent.getContent();
|
||||
if (content.msgtype && content.msgtype !== 'm.bad.encrypted' && content.hasOwnProperty('body')) {
|
||||
|
|
Loading…
Reference in a new issue