1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-19 05:22:13 +03:00

don't fire onFinished twice

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski
2019-09-15 21:30:01 +01:00
committed by Bruno Windels
parent 597433d549
commit 5d1056e1ef

View File

@@ -390,7 +390,6 @@ module.exports = React.createClass({
}, },
onJoinClick: function(ev, room) { onJoinClick: function(ev, room) {
this.props.onFinished();
this.showRoom(room, null, true); this.showRoom(room, null, true);
ev.stopPropagation(); ev.stopPropagation();
}, },