Fix m.id.phone spec compliance

pull/21833/head
Michael Telatynski 2020-06-12 22:36:50 +01:00
parent 9eb965878a
commit 01a71dab8c
1 changed files with 2 additions and 0 deletions

View File

@ -95,6 +95,8 @@ export default class Login {
identifier = {
type: 'm.id.phone',
country: phoneCountry,
phone: phoneNumber,
// XXX: Synapse historically wanted `number` and not `phone`
number: phoneNumber,
};
} else if (isEmail) {