Initial commit of the new ChatInviteDialog
This commit is contained in:
parent
67c623d410
commit
ca443e01d8
3 changed files with 104 additions and 5 deletions
|
@ -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",
|
||||
});
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue