Merge pull request #1908 from matrix-org/luke/fix-start-chat-error

Specify valid address types to "Start a chat" dialog
pull/21833/head
David Baker 2018-05-18 10:47:54 +01:00 committed by GitHub
commit 6d2d7bb287
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -57,6 +57,7 @@ export function showStartChatInviteDialog() {
title: _t('Start a chat'),
description: _t("Who would you like to communicate with?"),
placeholder: _t("Email, name or matrix ID"),
validAddressTypes: ['mx-user-id', 'email'],
button: _t("Start Chat"),
onFinished: _onStartChatFinished,
});