Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

New composer: make command detection not break with pill candidates in command #3374

Merged
merged 1 commit into from
Sep 2, 2019

Conversation

bwindels
Copy link
Contributor

@bwindels bwindels commented Sep 2, 2019

Fixes element-hq/element-web#10706

The bug was caused by typing #something or :something which would insert a pill candidate, at which point the command detection would not consider the message a command anymore.

Now only the first part should be of type command and any part can follow.

@bwindels bwindels requested a review from a team September 2, 2019 11:54
@bwindels bwindels merged commit ff74dd4 into develop Sep 2, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

/join, and most other commands, in new composer sends a message instead
2 participants