-
Notifications
You must be signed in to change notification settings - Fork 17
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
Character limit calculated wrong on CW replies #815
Comments
nikclayton
added a commit
to nikclayton/pachli-android
that referenced
this issue
Jul 14, 2024
…rning Previous code set `doOnTextChanged` listener for the content warning *after* the initial value had been set. This meant the initial content warning text was not included when calculating the status' initial length. Fix that by setting the listener before the text is set. Fixes pachli#815
Thanks for the report, and sorry about that. I've found and fixed the problem, it'll be included in the Pachli release at the end of this month. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
When REPLYING to Toots with content warnings the characters taken up by the warning are not counted towards the character limit, thus causing errors when posting.
To Reproduce
Expected behavior
As soon as the reply is started, the characters in the CW that the reply automatically adds from the original post needs to be substracted from the "remaining characters" count
Versions
Pachli 2.6.0 (F-Droid)
Google Pixel 7
Android 14
SDK 34
Mastodon Server version: 4.2.10
Affirmation
X I have checked other issues for this project (open and closed) and I cannot find one that matches the problem I am reporting.
The text was updated successfully, but these errors were encountered: