The telephone entry field is not disabled when telephone-to-account linkage is.
Steps to reproduce
-
Select
mx_UserMenu_userAvatar. -
Select
mx_UserMenu_iconSettings. -
Navigate to "Phone number":
<input type="text" label="Phone Number" autocomplete="tel-national" placeholder="Phone Number" id="mx_Field_17" value="" style=""> -
Select
+44. -
Enter
7840875616.
Outcome
What did you expect?
xor:
- The telephone number should be accepted.
- The entry form for a telephone number should be disabled or hidden.
What happened instead?
As @hoamer rather incomprehensibly reports at matrix-org/synapse/issues/4630, the user sees:
MatrixError: [403] Account phone numbers are not authorized on this server
Operating system
cpe:/o:fedoraproject:fedora:41
Browser information
firefox-135.0.1-1.fc41.x86_64
URL for webapp
chat.fedoraproject.org/#/home:~:text=Sign%20out-,Personal%20info,-Email%20addresses
Application version
Fedora Chat version: 1.11.92 Crypto version: Rust SDK 0.9.0 (5de53c7), Vodozemac 0.8.1
Homeserver
Will you send logs?
Yes
I don't see a Matrix API specific for MSISDN input. Only one for MSISDN+Email. So the client has no way of knowing it is disabled without you trying with a valid phone number which will receive a text message if it isn't disabled.
https://spec.matrix.org/v1.13/client-server-api/#m3pid_changes-capability