No need to dispatch, just call setMxId
This commit is contained in:
parent
6326a95b39
commit
cfa108a28c
1 changed files with 1 additions and 1 deletions
|
@ -703,7 +703,7 @@ module.exports = React.createClass({
|
||||||
|
|
||||||
_createChat: function() {
|
_createChat: function() {
|
||||||
if (MatrixClientPeg.get().isGuest()) {
|
if (MatrixClientPeg.get().isGuest()) {
|
||||||
dis.dispatch({action: 'view_set_mxid'});
|
this._setMxId();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
const ChatInviteDialog = sdk.getComponent("dialogs.ChatInviteDialog");
|
const ChatInviteDialog = sdk.getComponent("dialogs.ChatInviteDialog");
|
||||||
|
|
Loading…
Reference in a new issue