1 parent 7676fd9 commit 7777be8Copy full SHA for 7777be8
1 file changed
src/components/views/context_menus/MessageContextMenu.js
@@ -151,11 +151,9 @@ module.exports = React.createClass({
151
);
152
}
153
154
- if (this.props.mxEvent.getType() === 'm.room.message') {
+ if (!eventStatus && this.props.mxEvent.getType() === 'm.room.message') {
155
const content = this.props.mxEvent.getContent();
156
- if (content.msgtype // truthy check msgtype
157
- && content.msgtype !== 'm.bad.encrypted'
158
- && content.hasOwnProperty('body')) {
+ if (content.msgtype && content.msgtype !== 'm.bad.encrypted' && content.hasOwnProperty('body')) {
159
forwardButton = (
160
<div className="mx_MessageContextMenu_field" onClick={this.onForwardClick}>
161
Forward Message
0 commit comments