libpurple/account.c

changeset 39676
1e8394d47205
parent 39675
583e2ba6e78e
child 39678
278f810cac28
--- a/libpurple/account.c	Wed Jul 03 03:16:32 2019 -0400
+++ b/libpurple/account.c	Sat Jul 06 02:20:48 2019 -0400
@@ -1554,7 +1554,7 @@
 
 	/* if the name changes, we should re-write the buddy list
 	 * to disk with the new name */
-	purple_blist_save_account(account);
+	purple_blist_save_account(purple_blist_get_default(), account);
 }
 
 void
@@ -2333,7 +2333,7 @@
 	if (ui_ops != NULL && ui_ops->permit_added != NULL)
 		ui_ops->permit_added(account, who);
 
-	purple_blist_save_account(account);
+	purple_blist_save_account(purple_blist_get_default(), account);
 
 	/* This lets the UI know a buddy has had its privacy setting changed */
 	buddy = purple_blist_find_buddy(account, name);
@@ -2383,7 +2383,7 @@
 	if (ui_ops != NULL && ui_ops->permit_removed != NULL)
 		ui_ops->permit_removed(account, who);
 
-	purple_blist_save_account(account);
+	purple_blist_save_account(purple_blist_get_default(), account);
 
 	buddy = purple_blist_find_buddy(account, name);
 	if (buddy != NULL) {
@@ -2431,7 +2431,7 @@
 	if (ui_ops != NULL && ui_ops->deny_added != NULL)
 		ui_ops->deny_added(account, who);
 
-	purple_blist_save_account(account);
+	purple_blist_save_account(purple_blist_get_default(), account);
 
 	buddy = purple_blist_find_buddy(account, name);
 	if (buddy != NULL) {
@@ -2486,7 +2486,7 @@
 
 	g_free(name);
 
-	purple_blist_save_account(account);
+	purple_blist_save_account(purple_blist_get_default(), account);
 
 	return TRUE;
 }

mercurial