aboutsummaryrefslogtreecommitdiffstats
path: root/doc/user-guide
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2012-02-08 00:24:12 +0000
committerWilmer van der Gaast <wilmer@gaast.net>2012-02-08 00:24:12 +0000
commit7d27962b17487ec1c783dc9e028859b01a20e6f0 (patch)
tree616fd315d52857228aeac822474ed10da8fa1bba /doc/user-guide
parentd2abcae711eb4aca5b67e405607f40156ba0a29a (diff)
Take t.co URL lengthe^Wshortening 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!
Diffstat (limited to 'doc/user-guide')
-rw-r--r--doc/user-guide/commands.xml15
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/user-guide/commands.xml b/doc/user-guide/commands.xml
index 81eb7452..95a127cf 100644
--- a/doc/user-guide/commands.xml
+++ b/doc/user-guide/commands.xml
@@ -1031,6 +1031,21 @@
</description>
</bitlbee-setting>
+
+ <bitlbee-setting name="target_url_length" type="integer" scope="account">
+ <default>20</default>
+
+ <description>
+ <para>
+ 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.
+ </para>
+
+ <para>
+ 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).
+ </para>
+ </description>
+
+ </bitlbee-setting>
<bitlbee-setting name="mode" type="string" scope="account">
<possible-values>one, many, chat</possible-values>