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>
pull/3688/head
Michael Telatynski 2017-05-19 01:30:36 +01:00
parent eaeac1230f
commit 09f987559b
1 changed files with 2 additions and 2 deletions

View File

@ -90,8 +90,8 @@ module.exports = React.createClass({
onForwardClick: function() { onForwardClick: function() {
dis.dispatch({ dis.dispatch({
action: 'forward_message', action: 'forward_event',
content: this.props.mxEvent.getContent(), content: this.props.mxEvent,
}); });
this.closeMenu(); this.closeMenu();
}, },