mirror of https://github.com/vector-im/riot-web
Fix reacting to redactions
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>pull/21833/head
parent
696f158be0
commit
fe03d02cf6
|
@ -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 New Issue