From fb79c57ec6e5f833cf18976a192e9a6d3e682ca2 Mon Sep 17 00:00:00 2001 From: Luke Barnard Date: Wed, 16 May 2018 18:57:53 +0100 Subject: [PATCH] Specify valid address types to "Start a chat" dialog fixes https://github.com/vector-im/riot-web/issues/5459 --- src/RoomInvite.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/RoomInvite.js b/src/RoomInvite.js index 31541148d9..0bcc08eb06 100644 --- a/src/RoomInvite.js +++ b/src/RoomInvite.js @@ -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, });