element-x-ada/libraries/slashcommands
Jorge Martin Espinosa 66513bc905
Take into account homeserver capabilities (#6507)
* Take into account homeserver capabilities: add `HomeserverCapabilitiesProvider` to check if the HS allows changing the user's display name or avatar. Also, modify the edit user profile screen to reflect these values.

* Add `/myavatar` command. Filter both `/nick` and `/myavatar` commands based on the homeserver capabilities.

* Update screenshots

* Assume the use can change their display name and avatar url if the capabilities check fails: if they try to change those, the HS will return an error anyway.

* Disable also `/myroomname` and `/myroomavatar` based on the HS capabilities.

---------

Co-authored-by: ElementBot <android@element.io>
2026-04-15 12:29:41 +00:00
..
api Take into account homeserver capabilities (#6507) 2026-04-15 12:29:41 +00:00
impl Take into account homeserver capabilities (#6507) 2026-04-15 12:29:41 +00:00
test Add support for slash commands (under Feature Flag) (#6482) 2026-04-02 16:15:32 +02:00