Merge pull request #4757 from matrix-org/t3chguy/m.id.phone

Fix m.id.phone spec compliance
This commit is contained in:
Michael Telatynski
2020-06-16 13:47:03 +01:00
committed by GitHub

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) {