Bug 495151 - Character Limit counts web links
Summary: Character Limit counts web links
Status: RESOLVED NOT A BUG
Alias: None
Product: Tokodon
Classification: Applications
Component: general (show other bugs)
Version: 24.08.1
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-21 17:43 UTC by Michael Baumgartner
Modified: 2024-11-27 21:25 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Baumgartner 2024-10-21 17:43:47 UTC
SUMMARY

Each character of a web links post counts for Tokodon, but a web link only counts as one character for Mastodon.

STEPS TO REPRODUCE
1. Click on "+ Post"
2. Insert some web link (e.g. https://bugs.kde.org)

OBSERVED RESULT

The remaining characters reduce by the length of the link (e.g. to 477/500 for "https://bugs.kde.org")

EXPECTED RESULT

The remaining characters reduce by one (499/500)

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: Manjaro Linux
KDE Plasma Version: 6.1.5 
KDE Frameworks Version:  6.6.0
Qt Version:  6.7.2

ADDITIONAL INFORMATION
Comment 1 Joshua Goins 2024-10-21 17:50:25 UTC
Oof, I thought we handled this already. Thanks for reporting.
Comment 2 Joshua Goins 2024-11-27 21:25:01 UTC
Actually this is correct, links do *not* count as one character on Mastodon. By default they count by 23 characters maximum, but this is configurable by your instance should be reflected in Tokodon. Please re-open if your instance's link character count isn't reflected.