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

Fix /join #alias command in markdown mode #1254

Merged
merged 2 commits into from
Jul 27, 2017
Merged

Conversation

lukebarnard1
Copy link
Contributor

@lukebarnard1 lukebarnard1 commented Jul 27, 2017

Tab-completing a room alias inserts a markdown link, which is now stripped before a command is parsed. We also strip the MD links when doing the autocompletion itself (getAutocompleteQuery).

There is still an issue where /invite will not work at all with tab-completion - the text of a user Pill is not the userID but rather the display name, which cannot be used as an argument to the command.

fixes element-hq/element-web#4676

Tab-completing a room alias inserts a markdown link, which is now stripped before a command is parsed. We also strip the MD links when doing the autocompletion itself (getAutocompleteQuery).

There is still an issue where `/invite` will not work at all with tab-completion - the text of a user Pill is not the userID but rather the display name, which cannot be used as an argument to the command.
@lukebarnard1
Copy link
Contributor Author

(No idea why jenkins is sad about the karma-summary-reporter dependency which was most certainly not a change in this PR)

@dbkr dbkr merged commit 92746f8 into develop Jul 27, 2017
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.

Cannot /join an auto-completed room alias
2 participants