1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-09-29 19:56:07 -04:00

Added presence.last and presence.login when creating new account

This commit is contained in:
James Booth 2013-01-31 01:18:05 +00:00
parent 842f5c5f99
commit 67cfe50e4c

View File

@ -129,6 +129,8 @@ accounts_add(const char *account_name, const char *altdomain)
if (altdomain != NULL) {
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();
autocomplete_add(all_ac, strdup(account_name));