Changeset a685409 for protocols/twitter
- Timestamp:
- 2013-07-13T18:49:13Z (11 years ago)
- Branches:
- master
- Children:
- 81265e0, d4a4f1a
- Parents:
- c92ee728
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/twitter/twitter.c
rc92ee728 ra685409 238 238 gchar *url = g_match_info_fetch(match_info, 2); 239 239 url_len_diff += target_len - g_utf8_strlen(url, -1); 240 /* Add another character for https://t.co/... URLs */ 240 241 if (g_match_info_fetch(match_info, 3) != NULL) 241 242 url_len_diff += 1; … … 253 254 int target_len = set_getint(&ic->acc->set, "target_url_length"); 254 255 int url_len_diff = 0; 255 256 256 257 if (target_len > 0) 257 258 url_len_diff = twitter_url_len_diff(msg, target_len); … … 291 292 if (strcmp(acc->prpl->name, "twitter") == 0) { 292 293 def_url = TWITTER_API_URL; 293 def_tul = "2 0";294 def_tul = "22"; 294 295 def_mentions = "true"; 295 296 } else { /* if( strcmp( acc->prpl->name, "identica" ) == 0 ) */
Note: See TracChangeset
for help on using the changeset viewer.