Mercurial > pidgin.yaz
diff 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 |
line wrap: on
line diff
--- a/libpurple/protocols/jabber/jabber.c Sat Oct 01 17:10:45 2011 +0000 +++ b/libpurple/protocols/jabber/jabber.c Sat Oct 01 18:21:43 2011 +0000 @@ -1872,8 +1872,7 @@ return; /* This is the only privacy method supported by XEP-0191 */ - if (account->perm_deny != PURPLE_PRIVACY_DENY_USERS) - account->perm_deny = PURPLE_PRIVACY_DENY_USERS; + purple_account_set_privacy_type(account, PURPLE_PRIVACY_DENY_USERS); /* * TODO: When account->deny is something more than a hash table, this can