Changeset bd417a1


Ignore:
Timestamp:
2008-04-04T14:35:41Z (13 years ago)
Author:
Miklos Vajna <vmiklos@…>
Branches:
master
Children:
9ace502
Parents:
d24b73f
Message:

new config variable: skypeout_offline for who liked the old behaviour

File:
1 edited

Legend:

Unmodified
Added
Removed
  • skype/skype.c

    rd24b73f rbd417a1  
    323323                                        ptr = g_strdup_printf("%s@skype.com", user);
    324324                                        imcb_add_buddy(ic, ptr, NULL);
    325                                         if(strcmp(status, "OFFLINE") != 0 && strcmp(status, "SKYPEOUT") != 0)
     325                                        if(strcmp(status, "OFFLINE") && (strcmp(status, "SKYPEOUT") || !set_getbool(&ic->acc->set, "skypeout_offline")))
    326326                                                flags |= OPT_LOGGED_IN;
    327327                                        if(strcmp(status, "ONLINE") != 0 && strcmp(status, "SKYPEME") != 0)
     
    12541254        s = set_add( &acc->set, "balance", NULL, skype_set_balance, acc );
    12551255        s->flags |= ACC_SET_NOSAVE | ACC_SET_ONLINE_ONLY;
     1256
     1257        s = set_add( &acc->set, "skypeout_offline", "true", set_eval_bool, acc );
    12561258}
    12571259
Note: See TracChangeset for help on using the changeset viewer.