Bug 283298 - choqok has a hardcoded character limit of 140
Summary: choqok has a hardcoded character limit of 140
Status: RESOLVED FIXED
Alias: None
Product: choqok
Classification: Applications
Component: Gnu Social (show other bugs)
Version: 1.1
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Mehrdad Momeny
URL:
Keywords:
: 328570 332659 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-10-04 08:41 UTC by Roman Zimmermann
Modified: 2018-01-01 18:06 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Roman Zimmermann 2011-10-04 08:41:36 UTC
Version:           1.1 (using KDE 4.6.5) 
OS:                Linux

Recently I've changed the character limit on my self-hosted status.net service from 140 to 300. But choqok doesn't pick up that change. So far I've tried:
 * Restarting choqok
 * Refreshing the timeline
 * Reconfiguring the account

Reproducible: Always

Steps to Reproduce:
Start typing a new status message and look at the character count-down. Type a message longer than 140 characters and try to submit it.

Actual Results:  
It's always counting down from 140. Choqok denies sending the message.

Expected Results:  
It should count down from 300 (or whatever is the configured limit on the server) and allow me to send messages up to that limit.

OS: Linux (x86_64) release 2.6.38-tuxonice-r2
Compiler: x86_64-pc-linux-gnu-gcc
Comment 1 Andrea Scarpino 2013-12-29 18:05:05 UTC
*** Bug 328570 has been marked as a duplicate of this bug. ***
Comment 2 Mehrdad Momeny 2014-03-27 02:15:27 UTC
*** Bug 332659 has been marked as a duplicate of this bug. ***
Comment 3 Andrea Scarpino 2014-12-14 09:29:34 UTC
Git commit 95b94ec7ca9f1f9738ba85ec3bd5271a1f928c3f by Andrea Scarpino.
Committed on 13/12/2014 at 19:16.
Pushed by scarpino into branch 'master'.

Get char limit for the Status.net server

setCharLimit() has been moved from the MicroBlog to the Account class.
It also has been renamed as setPostCharLimit().

REVIEW: 121479
FIXED-IN: 1.5

M  +1    -0    helperlibs/twitterapihelper/twitterapiaccount.cpp
M  +1    -1    helperlibs/twitterapihelper/twitterapicomposerwidget.cpp
M  +1    -1    helperlibs/twitterapihelper/twitterapidmessagedialog.cpp
M  +0    -1    helperlibs/twitterapihelper/twitterapimicroblog.cpp
M  +13   -0    libchoqok/account.cpp
M  +6    -0    libchoqok/account.h
M  +0    -11   libchoqok/microblog.cpp
M  +0    -6    libchoqok/microblog.h
M  +3    -3    libchoqok/ui/composerwidget.cpp
M  +3    -3    libchoqok/ui/quickpost.cpp
M  +1    -1    microblogs/laconica/CMakeLists.txt
M  +10   -2    microblogs/laconica/laconicacomposerwidget.cpp
M  +1    -0    microblogs/laconica/laconicacomposerwidget.h
M  +28   -0    microblogs/laconica/laconicaeditaccount.cpp
M  +1    -0    microblogs/laconica/laconicaeditaccount.h
M  +2    -0    microblogs/pumpio/pumpioaccount.cpp
M  +2    -2    microblogs/pumpio/pumpiocomposerwidget.cpp
M  +0    -1    microblogs/pumpio/pumpiomicroblog.cpp
M  +2    -2    microblogs/twitter/twittercomposerwidget.cpp

http://commits.kde.org/choqok/95b94ec7ca9f1f9738ba85ec3bd5271a1f928c3f
Comment 4 Ivan S 2017-12-13 03:38:21 UTC
I still see it counting down from 140 on Twitter even though the limit was increased to 280.
Comment 5 Christoph Feck 2018-01-01 18:06:12 UTC
Ivan, this will be fixed in version 1.7, please see bug 370260 for the patch.