You've already forked matrix-react-sdk
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:
@ -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",
|
||||
});
|
||||
},
|
||||
|
||||
|
Reference in New Issue
Block a user