set privacy type to deny_users

This commit is contained in:
HanzZ 2011-08-11 23:28:02 +02:00
parent 7cce604462
commit 4bb54c1831

View file

@ -218,7 +218,9 @@ class SpectrumNetworkPlugin : public NetworkPlugin {
purple_account_set_password(account, password.c_str());
purple_account_set_enabled(account, "spectrum", TRUE);
purple_account_set_bool(account, "custom_smileys", FALSE);
purple_account_set_privacy_type(account, PURPLE_PRIVACY_DENY_USERS);
const PurpleStatusType *status_type = purple_account_get_status_type_with_primitive(account, PURPLE_STATUS_AVAILABLE);
if (status_type != NULL) {
purple_account_set_status(account, purple_status_type_get_id(status_type), TRUE, NULL);