mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-24 06:46:22 +00:00
Added /account set <account> resource <value>
This commit is contained in:
@@ -291,6 +291,15 @@ accounts_set_server(const char * const account_name, const char * const value)
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
accounts_set_resource(const char * const account_name, const char * const value)
|
||||
{
|
||||
if (accounts_account_exists(account_name)) {
|
||||
g_key_file_set_string(accounts, account_name, "resource", value);
|
||||
_save_accounts();
|
||||
}
|
||||
}
|
||||
|
||||
static void
|
||||
_fix_legacy_accounts(const char * const account_name)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user