diff options
author | Gary Kramlich <grim@reaperworld.com> | 2022-10-25 23:08:13 -0500 |
---|---|---|
committer | Gary Kramlich <grim@reaperworld.com> | 2022-10-25 23:08:13 -0500 |
commit | 95566de36f5ce9894cfa69297be547e2e59966fb (patch) | |
tree | 23f2ec87566ee3fbf6a1cb2857f7f150aa207f47 /libpurple/accounts.c | |
parent | a8b0f1251bfeefda4b255d3b4f2c71c61091894c (diff) | |
download | pidgin-95566de36f5ce9894cfa69297be547e2e59966fb.tar.gz |
Work around an issue where accounts were attempting to connect when they were deserialized
This is a short term fix until we rewrite the serialization method.
Testing Done:
Set a break point on `pidgin_account_connect` and verified it didn't get call from `purple_accounts_init`.
Reviewed at https://reviews.imfreedom.org/r/1966/
Diffstat (limited to 'libpurple/accounts.c')
-rw-r--r-- | libpurple/accounts.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libpurple/accounts.c b/libpurple/accounts.c index db356e9c6e..d610ccbdd7 100644 --- a/libpurple/accounts.c +++ b/libpurple/accounts.c @@ -356,10 +356,11 @@ parse_account(PurpleXmlNode *node) "id", id, "username", name, "protocol-id", protocol_id, - "enabled", enabled, "require-password", require_password, NULL); + purple_account_set_enabled_plain(ret, enabled); + g_free(id); g_free(name); g_free(protocol_id); |