mirror of https://github.com/vector-im/riot-web
Fix m.id.phone spec compliance
parent
9eb965878a
commit
01a71dab8c
|
@ -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