Changeset d168091


Ignore:
Timestamp:
2018-02-08T11:29:08Z (2 years ago)
Author:
Alyssa Ross <hi@…>
Branches:
master
Children:
1dcbd3e
Parents:
7ec2ce8
git-author:
Alyssa Ross <hi@…> (06-02-18 21:06:51)
git-committer:
Alyssa Ross <hi@…> (08-02-18 11:29:08)
Message:

Update Twitter character limit to 280 characters

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • doc/user-guide/commands.xml

    r7ec2ce8 rd168091  
    10381038
    10391039        <bitlbee-setting name="message_length" type="integer" scope="account">
    1040                 <default>140</default>
    1041 
    1042                 <description>
    1043                         <para>
    1044                                 Since Twitter rejects messages longer than 140 characters, BitlBee can count message length and emit a warning instead of waiting for Twitter to reject it.
     1040                <default>280</default>
     1041
     1042                <description>
     1043                        <para>
     1044                                Since Twitter rejects messages longer than 280 characters, BitlBee can count message length and emit a warning instead of waiting for Twitter to reject it.
    10451045                        </para>
    10461046
  • protocols/twitter/twitter.c

    r7ec2ce8 rd168091  
    558558        s = set_add(&acc->set, "fetch_mentions", def_mentions, set_eval_bool, acc);
    559559
    560         s = set_add(&acc->set, "message_length", "140", set_eval_int, acc);
     560        s = set_add(&acc->set, "message_length", "280", set_eval_int, acc);
    561561
    562562        s = set_add(&acc->set, "target_url_length", def_tul, set_eval_int, acc);
Note: See TracChangeset for help on using the changeset viewer.