Ignore:
Timestamp:
2015-05-24T18:51:57Z (9 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Children:
8c3637b
Parents:
2446e4c
Message:

ACC_FLAG_LOCAL -> ACC_FLAG_LOCAL_CONTACTS.

Also, handle the flag more properly. The config loader was not the right
place to do this in.

Next up: Add a way for a protocol module to fetch the contact list
pre-login.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/purple/purple.c

    r2446e4c r93e0901  
    261261        }
    262262        purple_accounts_remove(pa);
     263       
     264        /* Last, some protocols want their contact lists locally. */
     265        if (strcmp(acc->prpl->name, "whatsapp") == 0 || strcmp(acc->prpl->name, "gg") == 0) {
     266                acc->flags |= ACC_FLAG_LOCAL_CONTACTS;
     267        }
    263268}
    264269
Note: See TracChangeset for help on using the changeset viewer.