-
Notifications
You must be signed in to change notification settings - Fork 541
Input command should not be auto-corrected #7424
Copy link
Copy link
Open
Labels
A-ComposerO-OccasionalAffects or can be seen by some users regularly or most users rarelyAffects or can be seen by some users regularly or most users rarelyS-MinorImpairs non-critical functionality or suitable workarounds existImpairs non-critical functionality or suitable workarounds existT-DefectSomething isn't working: bugs, crashes, hangs and other reported problemsSomething isn't working: bugs, crashes, hangs and other reported problems
Metadata
Metadata
Assignees
Labels
A-ComposerO-OccasionalAffects or can be seen by some users regularly or most users rarelyAffects or can be seen by some users regularly or most users rarelyS-MinorImpairs non-critical functionality or suitable workarounds existImpairs non-critical functionality or suitable workarounds existT-DefectSomething isn't working: bugs, crashes, hangs and other reported problemsSomething isn't working: bugs, crashes, hangs and other reported problems
Type
Fields
Give feedbackNo fields configured for issues without a type.
Steps to reproduce
I try to send command
/discardsessionOutcome
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