mirror of https://github.com/vector-im/riot-web
Merge pull request #4757 from matrix-org/t3chguy/m.id.phone
Fix m.id.phone spec compliancepull/21833/head
commit
36c1b823ab
|
@ -95,6 +95,8 @@ export default class Login {
|
||||||
identifier = {
|
identifier = {
|
||||||
type: 'm.id.phone',
|
type: 'm.id.phone',
|
||||||
country: phoneCountry,
|
country: phoneCountry,
|
||||||
|
phone: phoneNumber,
|
||||||
|
// XXX: Synapse historically wanted `number` and not `phone`
|
||||||
number: phoneNumber,
|
number: phoneNumber,
|
||||||
};
|
};
|
||||||
} else if (isEmail) {
|
} else if (isEmail) {
|
||||||
|
|
Loading…
Reference in New Issue