SUMMARY When using slashes in the middle of a message, neochat thinks that the user is trying to input a slash command. STEPS TO REPRODUCE 1. Write something along the lines of `Hey, check out my favourite GNU / Linux distro!` OBSERVED RESULT After typing the slash, NeoChat prompts you with the command selection EXPECTED RESULT NeoChat should only prompt the command selection, if the slash is the first character in the message. SOFTWARE/OS VERSIONS Linux: Arch Linux KDE Frameworks Version: 5.95.0 Qt Version: 5.15.5 NeoChat: self compiled flatpak
A possibly relevant merge request was started @ https://invent.kde.org/network/neochat/-/merge_requests/532
Git commit 53b9f4239989b32aa73f84838b47e374ba690853 by Tobias Fella, on behalf of James Graham. Committed on 22/09/2022 at 15:11. Pushed by tfella into branch 'master'. Fix Slash Commands in the Middle of a Message Make sure that a slash command only activates when the slash is at the beginning of the message. M +1 -1 src/chatdocumenthandler.cpp https://invent.kde.org/network/neochat/commit/53b9f4239989b32aa73f84838b47e374ba690853