No need to dispatch, just call setMxId

This commit is contained in:
Luke Barnard 2017-05-11 17:07:03 +01:00
parent 6326a95b39
commit cfa108a28c

View file

@ -703,7 +703,7 @@ module.exports = React.createClass({
_createChat: function() {
if (MatrixClientPeg.get().isGuest()) {
dis.dispatch({action: 'view_set_mxid'});
this._setMxId();
return;
}
const ChatInviteDialog = sdk.getComponent("dialogs.ChatInviteDialog");