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
parent 54d98c22ba
commit 7f5d38772d

View file

@ -389,7 +389,6 @@ module.exports = createReactClass({
}, },
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();
}, },