From 756d4e18cfd6d889fc8959f7df93b127fb384cf4 Mon Sep 17 00:00:00 2001 From: Jabber Developer Date: Wed, 8 Jul 2026 11:00:31 +0000 Subject: [PATCH] fix(accounts): complete client.name to client.account_name rename The previous rename of the account option key left "client.name" in accounts_set_client() and accounts_clear_client(), preventing the option from being set/cleared. Update both functions to use the correct "client.account_name" key. Note: existing configurations with the old key will not be migrated automatically; a migration fix will follow. --- src/config/accounts.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/config/accounts.c b/src/config/accounts.c index af5d34e4..29f9632a 100644 --- a/src/config/accounts.c +++ b/src/config/accounts.c @@ -522,7 +522,7 @@ accounts_set_script_start(const char* const account_name, const char* const valu void accounts_set_client(const char* const account_name, const char* const value) { - _accounts_set_string_option(account_name, "client.name", value); + _accounts_set_string_option(account_name, "client.account_name", value); } void @@ -576,7 +576,7 @@ accounts_clear_script_start(const char* const account_name) void accounts_clear_client(const char* const account_name) { - _accounts_clear_string_option(account_name, "client.name"); + _accounts_clear_string_option(account_name, "client.account_name"); } void