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:
parent
eaeac1230f
commit
09f987559b
|
@ -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();
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue