libpurple/protocols/jabber/jabber.c

changeset 32623
547eacef0b63
parent 32617
c74b4bd27e37
child 32624
f957ad287bcc
equal deleted inserted replaced
32622:d2522cb828aa 32623:547eacef0b63
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 */

mercurial