Ignore:
Timestamp:
2012-02-08T00:24:12Z (10 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
e0a0a42
Parents:
d2abcae
Message:

Take t.co URL lengtheWshortening into account when counting message length
before posting a Twitter message. Disable this functionality by default for
identi.ca accounts. Hardcode post-t.co URL length to 20 since it's probably
not going to change any time soon. Bug #855. Patch by Artem Savkov, thanks!

File:
1 edited

Legend:

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

    rd2abcae r7d27962  
    10321032
    10331033        </bitlbee-setting>
     1034       
     1035        <bitlbee-setting name="target_url_length" type="integer" scope="account">
     1036                <default>20</default>
     1037
     1038                <description>
     1039                        <para>
     1040                                Twitter replaces every URL with fixed-length t.co URLs. BitlBee is able to take t.co urls into account when calculating <emphasis>message_length</emphasis> replacing the actual URL length with target_url_length. Setting target_url_length to 0 disables this feature.
     1041                        </para>
     1042
     1043                        <para>
     1044                                This setting is disabled for identica accounts by default and will not affect anything other than message safety checks (i.e. Twitter will still replace your URLs with t.co links, even if that makes them longer).
     1045                        </para>
     1046                </description>
     1047
     1048        </bitlbee-setting>
    10341049
    10351050        <bitlbee-setting name="mode" type="string" scope="account">
Note: See TracChangeset for help on using the changeset viewer.