Input command should not be auto-corrected #7424
Labels
A-Composer
O-Occasional
Affects or can be seen by some users regularly or most users rarely
S-Minor
Impairs non-critical functionality or suitable workarounds exist
T-Defect
Something isn't working: bugs, crashes, hangs and other reported problems
Steps to reproduce
I try to send command
/discardsession
Outcome
What did you expect?
I expect the input to be identified as command
discardsession
.What happened instead?
Because of the auto-correction feature, the command is rewritten as
/discard session
.The piece of code repsonsible of this auto-correction is in Riot/modules/Room/Views/InputToolbar/RoomInputToolbarView.swift:sendCurrentMessage() :
I propose that command (string beginning with a '/') should not be auto-corrected.
The code should be:
Your phone model
iPhone 14 Simulator
Operating system version
iOS 16
Application version
Element 1.10.3
Homeserver
No response
Will you send logs?
No
The text was updated successfully, but these errors were encountered: