- Remove an unnecessary cast - Fix two stored XSS, since the name of the avatar is user-controlled - Tighten the type of some exceptions
- Remove an unnecessary cast - Fix two stored XSS, since the name of the avatar is user-controlled - Tighten the type of some exceptions