Bug 487056

Summary: Poll choices have a character limit
Product: [Applications] Tokodon Reporter: Joshua Goins <josh>
Component: generalAssignee: Unassigned bugs <unassigned-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: carl, josh
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Other   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Joshua Goins 2024-05-15 13:54:07 UTC
Not sure if this is configurable on the server, but Tokodon should warn us before letting us submit it.
Comment 1 Bug Janitor Service 2025-05-25 22:52:17 UTC
A possibly relevant merge request was started @ https://invent.kde.org/network/tokodon/-/merge_requests/745
Comment 2 Joshua Goins 2025-05-25 23:19:20 UTC
Git commit 28df43c11a9a387a35d227e1df32138761b3b806 by Joshua Goins.
Committed on 25/05/2025 at 22:51.
Pushed by redstrate into branch 'master'.

Limit the poll choices to the limit set by the server

Otherwise, you might get a surprise when you try to post, and the server
throws an error at you!

M  +7    -0    src/account/abstractaccount.cpp
M  +7    -0    src/account/abstractaccount.h
M  +2    -0    src/content/ui/StatusComposer/ComposerPoll.qml
M  +1    -0    src/content/ui/StatusComposer/StatusComposer.qml

https://invent.kde.org/network/tokodon/-/commit/28df43c11a9a387a35d227e1df32138761b3b806