From 09f987559b0209956b97f84bb21c857074ec31f0 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Fri, 19 May 2017 01:30:36 +0100 Subject: [PATCH] rename action, now forwarding any event is possible, limited by where button is shown, i.e easy to modify Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --- src/components/views/context_menus/MessageContextMenu.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/views/context_menus/MessageContextMenu.js b/src/components/views/context_menus/MessageContextMenu.js index ffedbcad8c..5f8cf6880b 100644 --- a/src/components/views/context_menus/MessageContextMenu.js +++ b/src/components/views/context_menus/MessageContextMenu.js @@ -90,8 +90,8 @@ module.exports = React.createClass({ onForwardClick: function() { dis.dispatch({ - action: 'forward_message', - content: this.props.mxEvent.getContent(), + action: 'forward_event', + content: this.props.mxEvent, }); this.closeMenu(); },