Placeholder for one to one chat dialog and functionality
parent
a23d8e313d
commit
e7d4ef74d0
src/components/structures
|
@ -357,6 +357,9 @@ module.exports = React.createClass({
|
|||
this._setPage(this.PageTypes.RoomDirectory);
|
||||
this.notifyNewScreen('directory');
|
||||
break;
|
||||
case 'view_one_to_one_chat':
|
||||
this._oneToOneChat();
|
||||
break;
|
||||
case 'notifier_enabled':
|
||||
this.forceUpdate();
|
||||
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
|
||||
// room view.
|
||||
_updateScrollMap: function() {
|
||||
|
|
Loading…
Reference in New Issue