Placeholder for one to one chat dialog and functionality
This commit is contained in:
parent
a23d8e313d
commit
e7d4ef74d0
1 changed files with 12 additions and 0 deletions
|
@ -357,6 +357,9 @@ 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':
|
||||||
|
this._oneToOneChat();
|
||||||
|
break;
|
||||||
case 'notifier_enabled':
|
case 'notifier_enabled':
|
||||||
this.forceUpdate();
|
this.forceUpdate();
|
||||||
break;
|
break;
|
||||||
|
@ -493,6 +496,15 @@ module.exports = React.createClass({
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
_oneToOneChat: function() {
|
||||||
|
// TODO: Create a OneToOneChatChatDialog
|
||||||
|
var ErrorDialog = sdk.getComponent("dialogs.ErrorDialog");
|
||||||
|
Modal.createDialog(ErrorDialog, {
|
||||||
|
title: "Unimplemented Feature",
|
||||||
|
description: "The OnToOneChatDialog is not yet implemented"
|
||||||
|
});
|
||||||
|
},
|
||||||
|
|
||||||
// update scrollStateMap according to the current scroll state of the
|
// update scrollStateMap according to the current scroll state of the
|
||||||
// room view.
|
// room view.
|
||||||
_updateScrollMap: function() {
|
_updateScrollMap: function() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue