element-hq / element-hq/element-android
Improve Slash command escaping
Open
A-Slash-Commands
T-Enhancement
Z-parity-with-web
- Dominant language
- Kotlin
- Stars
- 3.7k
- Forks
- 917
- PR merge metrics
- No merged PRs in 30d
Description
Currently there is no possibility for a user to send a message starting with `/`, except if the message starts with `//`.
We should:
- [ ] Support escaping of `/`, using `\/` (so not be strictly equivalent to Element Web on this point, but let's assume that difference, I do not like escaping using `//`). In this case, the first `\` should be removed before sending the Event.
- [ ] Propose to send the message if the command is not supported (as per Element Web)
FTR on Element Web, we have:

- Supporting `/help` is out of scope for this issue
Contributor guide
Assessment
This issue has not been assessed yet.