You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-08 21:42:24 +03:00
Fix m.id.phone spec compliance
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user