diff --git a/src/utils/EventUtils.js b/src/utils/EventUtils.js index ac415ca6de..81aa82057b 100644 --- a/src/utils/EventUtils.js +++ b/src/utils/EventUtils.js @@ -47,5 +47,6 @@ export function isContentActionable(mxEvent) { export function canEditContent(mxEvent) { return isContentActionable(mxEvent) && + mxEvent.getContent().msgtype === "m.text" && mxEvent.getSender() === MatrixClientPeg.get().getUserId(); }