Ignore:
Timestamp:
2012-12-29T10:44:24Z (8 years ago)
Author:
Miklos Vajna <vmiklos@…>
Branches:
master
Children:
e6298e5
Parents:
14d0b02
Message:

skype: make it not hang with >=2.2.0.35

Sadly reading users of larger groups using the public API just hangs in newer
Skype versions. Skype4Py already defines a timeout for requests, but still:
startup takes *minutes*. Work this around by disabling reading of groups by
default.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/skype/skype.c

    r14d0b02 r3c7af69  
    10461046static void skype_parse_groups(struct im_connection *ic, char *line)
    10471047{
     1048        if (!set_getbool(&ic->acc->set, "read_groups"))
     1049                return;
     1050
    10481051        char **i;
    10491052        char **groups = g_strsplit(line + 7, ", ", 0);
     
    15361539        s = set_add(&acc->set, "edit_prefix", "EDIT:",
    15371540                        NULL, acc);
     1541
     1542        s = set_add(&acc->set, "read_groups", "false", set_eval_bool, acc);
    15381543}
    15391544
Note: See TracChangeset for help on using the changeset viewer.