1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-06-26 04:01:04 +03:00

Initial commit of the new ChatInviteDialog

This commit is contained in:
wmwragg
2016-09-05 12:03:16 +01:00
parent 67c623d410
commit ca443e01d8
3 changed files with 104 additions and 5 deletions

View File

@ -497,11 +497,11 @@ module.exports = React.createClass({
},
_createChat: function() {
// TODO: Create a OneToOneChatChatDialog
var ErrorDialog = sdk.getComponent("dialogs.ErrorDialog");
Modal.createDialog(ErrorDialog, {
title: "Unimplemented Feature",
description: "The OnToOneChatDialog is not yet implemented"
var ChatInviteDialog = sdk.getComponent("dialogs.ChatInviteDialog");
Modal.createDialog(ChatInviteDialog, {
title: "Start a one to one chat",
description: "Who would you like to communicate with?",
placeholder: "User ID, Name or email",
});
},