pidgin/pidgin

Properly set an account's current error.

22 months ago, Gary Kramlich
d8e0a25a57ac
Parents 60cec3b7ad30
Children 61d9b9e2b974
Properly set an account's current error.

This is a regression from 86beaec0fa35 which caused a crash when an account got
disabled because it was logged in elsewhere.

Testing Done:
Ran locally and had pidgin2 and pidgin3 boot each other a few times.

Reviewed at https://reviews.imfreedom.org/r/1520/
--- a/libpurple/account.c Tue Jul 05 01:59:42 2022 -0500
+++ b/libpurple/account.c Tue Jul 05 02:03:30 2022 -0500
@@ -533,6 +533,8 @@
if(new_err == old_err)
return;
+ priv->current_error = new_err;
+
manager = purple_notification_manager_get_default();
if(PURPLE_IS_NOTIFICATION(priv->error_notification)) {