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>
This commit is contained in:
Michael Telatynski 2017-05-19 01:30:36 +01:00
parent eaeac1230f
commit 09f987559b

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();
}, },