0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-11-03 21:28:57 +01:00
Commit graph

1 commit

Author SHA1 Message Date
Andrew Morgan
e89bd3ea92
Improve error messages of non-str displayname/avatar_url (#8705)
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.
2020-11-02 18:01:09 +00:00