Changeset cf0dbdd for protocols/twitter


Ignore:
Timestamp:
2012-01-30T21:41:00Z (13 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
eb4c81a
Parents:
8d96b78 (diff), 948abab (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merging strip_newlines Twitter setting.

Location:
protocols/twitter
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • protocols/twitter/twitter.c

    r8d96b78 rcf0dbdd  
    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

    r8d96b78 rcf0dbdd  
    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.