Changeset 93e0901 for storage_xml.c


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
  • storage_xml.c

    r2446e4c r93e0901  
    8989        char *pass_b64 = NULL;
    9090        unsigned char *pass_cr = NULL;
    91         int pass_len, local = 0;
     91        int pass_len;
    9292        struct prpl *prpl = NULL;
    9393        account_t *acc;
     
    107107                        return XT_ABORT;
    108108                }
    109                 local = protocol_account_islocal(protocol);
    110109        }
    111110
     
    123122                if (tag) {
    124123                        set_setstr(&acc->set, "tag", tag);
    125                 }
    126                 if (local) {
    127                         acc->flags |= ACC_FLAG_LOCAL;
    128124                }
    129125        } else {
Note: See TracChangeset for help on using the changeset viewer.