mirror of
https://github.com/element-hq/element-web
synced 2024-11-28 04:21:57 +03:00
Rename the action to make it clearer what it is doing
This commit is contained in:
parent
f9ab2fa957
commit
67c623d410
1 changed files with 3 additions and 3 deletions
|
@ -357,8 +357,8 @@ module.exports = React.createClass({
|
||||||
this._setPage(this.PageTypes.RoomDirectory);
|
this._setPage(this.PageTypes.RoomDirectory);
|
||||||
this.notifyNewScreen('directory');
|
this.notifyNewScreen('directory');
|
||||||
break;
|
break;
|
||||||
case 'view_one_to_one_chat':
|
case 'view_create_chat':
|
||||||
this._oneToOneChat();
|
this._createChat();
|
||||||
break;
|
break;
|
||||||
case 'notifier_enabled':
|
case 'notifier_enabled':
|
||||||
this.forceUpdate();
|
this.forceUpdate();
|
||||||
|
@ -496,7 +496,7 @@ module.exports = React.createClass({
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
_oneToOneChat: function() {
|
_createChat: function() {
|
||||||
// TODO: Create a OneToOneChatChatDialog
|
// TODO: Create a OneToOneChatChatDialog
|
||||||
var ErrorDialog = sdk.getComponent("dialogs.ErrorDialog");
|
var ErrorDialog = sdk.getComponent("dialogs.ErrorDialog");
|
||||||
Modal.createDialog(ErrorDialog, {
|
Modal.createDialog(ErrorDialog, {
|
||||||
|
|
Loading…
Reference in a new issue