mirror of
https://github.com/element-hq/synapse
synced 2024-08-17 14:00:52 +00:00
This PR fixes two things: * Corrects the copy/paste error of telling the client their displayname is wrong when they are submitting an `avatar_url`. * Returns a `M_INVALID_PARAM` instead of `M_UNKNOWN` for non-str type parameters. Reported by @t3chguy.
1 line
No EOL
110 B
Text
1 line
No EOL
110 B
Text
Improve the error returned when a non-string displayname or avatar_url is used when updating a user's profile. |