Fix reacting to redactions
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
696f158be0
commit
fe03d02cf6
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…
Add table
Add a link
Reference in a new issue