-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow sending messages with leading slash in Riot #4630
Comments
I'd hate that, what if you mistype a command that has some info you wouldn't really want others to see. The right way to do this, as IRC Clients have done for a looong time and how Riot already does it is to |
IRC with Even me, that was be active user of IRC about 10 years ago (and moved to XMPP from this protocol), forgot this trick that I can add additional So best solution will be add option "Enable IRC-style commands with trailing Or as workaround for this problem - we can add button "Force send as message" to current error popup window, that automatically prepend additional |
Our company actively send link to files like |
I like the solutions you suggested, a way to disable SlashCommands and a way to send the message anyway |
We do need a nicer way to handle this, and as you say the current error popup could be a lot more useful. Instead of saying
Obviously we'd need Riot to render '//.....' messages as '/.....', too. |
@lampholder |
Yes, text is good, but message text repeats 3 times. Message text can be very long and multiline (even when sending code snippets), so will be good to display them one time:
Also I add link to disable command recognition in Riot settings, if this will added in future. |
This can give problems with sending code snippets starting with comments, like:
For solve this problem we can change recognition process to regexp |
Typically that would be in a code block, and not be parsed as a command to begin with. If you wanted to send a line starting with
That would be even more confusing than not supporting leading slashes at all; sometimes it would work and sometimes it wouldn't. |
WAT? This is familiar only for IRC users! All other popular chats (Skype, WhatsAPP, Viber, XMPP, Telegram, Hangouts) don't use slash-commands, and even if they use - I can't remember that they don't allow send messages like Neoteric users prefers to use nice buttons and menu options instead of remember plaintext commands. Even smiles they select via mouse from list instead of typing. |
Issue is still exists with "new, faster, but still experimental composer" too :( |
At now when I try to send message via Riot, that starting with slash (for example, linux path to file like
/home/murz/file.txt
or path of code like/* code */ echo "hello world"; /* code end */
) - I got the error:So I must add trailing space or other symbol for send this path to file.
I understand that Riot have commands that sends via trailing slash, but this broke ability to send some messages without manual editing.
Will be good if Riot try to recognize the command with slash, and if there are no exact matches - send message to room, instead of stop sending process and shows the error.
The text was updated successfully, but these errors were encountered: