Bug 385106 - does not display the correct number of characters to enter in the new message box
Summary: does not display the correct number of characters to enter in the new message...
Status: CONFIRMED
Alias: None
Product: choqok
Classification: Applications
Component: Gnu Social (show other bugs)
Version: 1.6
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Mehrdad Momeny
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-26 20:08 UTC by Rogger Ortega
Modified: 2017-11-18 17:39 UTC (History)
1 user (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 Rogger Ortega 2017-09-26 20:08:14 UTC
the sending box always shows 140 characters, but at first it showed me the 5000 that allows me Friendica or some node of Gnusocial and then from one start to another no more.
Comment 1 Andrea Scarpino 2017-11-18 16:55:42 UTC
Indeed... at the moment the length is respected only when the account is created.
When you close Choqok then it's set to 140.

A workaround is to edit the account (open the account details and just press save).
Comment 2 Andrea Scarpino 2017-11-18 16:58:02 UTC
Git commit f86ccd5859ee94731c92ba905791f784768c9c4e by Andrea Scarpino.
Committed on 18/11/2017 at 16:57.
Pushed by scarpino into branch 'mastodon'.

[twitterapi] set twitter max length only for twitter

M  +0    -2    helperlibs/twitterapihelper/twitterapiaccount.cpp
M  +2    -0    microblogs/twitter/twitteraccount.cpp

https://commits.kde.org/choqok/f86ccd5859ee94731c92ba905791f784768c9c4e
Comment 3 Andrea Scarpino 2017-11-18 17:04:53 UTC
Git commit 6ec445a74e25ec95475489f12419af90dc9592cd by Andrea Scarpino.
Committed on 18/11/2017 at 17:04.
Pushed by scarpino into branch 'master'.

[twitterapi] set twitter max length only for twitter

M  +0    -2    helperlibs/twitterapihelper/twitterapiaccount.cpp
M  +2    -0    microblogs/twitter/twitteraccount.cpp

https://commits.kde.org/choqok/6ec445a74e25ec95475489f12419af90dc9592cd
Comment 4 Andrea Scarpino 2017-11-18 17:39:30 UTC
With commit 6ec445a74e25ec95475489f12419af90dc9592cd I disabled the wrong behaviour of resetting the limit to 140 chars.

However to fix existing account we need to fetch the limit from the server for each account everytime choqok start and I'm not sure if we want to do that.