Ignore:
Timestamp:
2016-11-14T00:37:14Z (8 years ago)
Author:
dequis <dx@…>
Branches:
master
Children:
537d9b9, b4f496e
Parents:
ea90275
Message:

Improve support for protocols which don't require a password

This adds a prpl_options_t enum with flags, which mostly just brings
OPT_PROTO_{NO_PASSWORD,PASSWORD_OPTIONAL} from libpurple as
PRPL_OPT_{NO_PASSWORD,PASSWORD_OPTIONAL}

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/twitter/twitter.c

    rea90275 r9f03c47  
    10921092        struct prpl *ret = g_new0(struct prpl, 1);
    10931093
    1094         ret->options = OPT_NOOTR;
     1094        ret->options = PRPL_OPT_NOOTR | PRPL_OPT_NO_PASSWORD;
    10951095        ret->name = "twitter";
    10961096        ret->login = twitter_login;
     
    11191119        ret = g_memdup(ret, sizeof(struct prpl));
    11201120        ret->name = "identica";
     1121        ret->options =  PRPL_OPT_NOOTR;
    11211122        register_protocol(ret);
    11221123}
Note: See TracChangeset for help on using the changeset viewer.