set privacy type to deny_users
This commit is contained in:
parent
7cce604462
commit
4bb54c1831
1 changed files with 3 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue