Changeset 948abab


Ignore:
Timestamp:
2012-01-13T17:49:23Z (13 years ago)
Author:
Daniel Albers <daniel@…>
Branches:
master
Children:
cf0dbdd
Parents:
441b9dd
Message:

add 'strip_newlines' setting to Twitter

Location:
protocols/twitter
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • protocols/twitter/twitter.c

    r441b9dd r948abab  
    246246
    247247        s = set_add(&acc->set, "show_old_mentions", "true", set_eval_bool, acc);
     248
     249        s = set_add(&acc->set, "strip_newlines", "false", set_eval_bool, acc);
    248250}
    249251
  • protocols/twitter/twitter_lib.c

    r441b9dd r948abab  
    647647                strip_html(status->text);
    648648
     649                if (set_getbool(&ic->acc->set, "strip_newlines"))
     650                  strip_newlines(status->text);
     651
    649652                msg = twitter_msg_add_id(ic, status, "");
    650653
Note: See TracChangeset for help on using the changeset viewer.