mirror of
https://github.com/profanity-im/profanity.git
synced 2024-11-03 19:37:16 -05:00
Added presence.last and presence.login when creating new account
This commit is contained in:
parent
842f5c5f99
commit
67cfe50e4c
@ -129,6 +129,8 @@ accounts_add(const char *account_name, const char *altdomain)
|
|||||||
if (altdomain != NULL) {
|
if (altdomain != NULL) {
|
||||||
g_key_file_set_string(accounts, account_name, "server", altdomain);
|
g_key_file_set_string(accounts, account_name, "server", altdomain);
|
||||||
}
|
}
|
||||||
|
g_key_file_set_string(accounts, account_name, "presence.last", "online");
|
||||||
|
g_key_file_set_string(accounts, account_name, "presence.login", "online");
|
||||||
|
|
||||||
_save_accounts();
|
_save_accounts();
|
||||||
autocomplete_add(all_ac, strdup(account_name));
|
autocomplete_add(all_ac, strdup(account_name));
|
||||||
|
Loading…
Reference in New Issue
Block a user