| 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 */ |