comparison libpurple/protocols/jabber/jabber.c @ 32707:f75041cb3fec

Convert libpurple and protocol prpl's to use the purple_account_* accessor functions.
author andrew.victor@mxit.com
date Sat, 01 Oct 2011 18:21:43 +0000
parents 1f68af4afe67
children 10e5000326a5
comparison
equal deleted inserted replaced
32706:6e27091869eb 32707:f75041cb3fec
1870 1870
1871 if (type == JABBER_IQ_ERROR || blocklist == NULL) 1871 if (type == JABBER_IQ_ERROR || blocklist == NULL)
1872 return; 1872 return;
1873 1873
1874 /* This is the only privacy method supported by XEP-0191 */ 1874 /* This is the only privacy method supported by XEP-0191 */
1875 if (account->perm_deny != PURPLE_PRIVACY_DENY_USERS) 1875 purple_account_set_privacy_type(account, PURPLE_PRIVACY_DENY_USERS);
1876 account->perm_deny = PURPLE_PRIVACY_DENY_USERS;
1877 1876
1878 /* 1877 /*
1879 * TODO: When account->deny is something more than a hash table, this can 1878 * TODO: When account->deny is something more than a hash table, this can
1880 * be re-written to find the set intersection and difference. 1879 * be re-written to find the set intersection and difference.
1881 */ 1880 */