Custom status text keeps trailing spaces in the settings API

(#3592) Bug Won't fix api

Thread

Comment by Jonas
Jonas OP1 vote
Request:
PATCH https://api.fluxer.app/v1/users/@me/settings
{
  "custom_status": {
    "text": "Listening to THE DOSE – Witchz   ‍"
  }
}
Response:
...
  "custom_status": {
    "text": "Listening to THE DOSE – Witchz   ‍",
    "emoji_name": null,
    "emoji_animated": false
  },
...
With other texts I can't reproduce this either and it's trimmed properly. Text with Unicode escape sequences: "Listening to THE DOSE \u2013 Witchz ‍"