Show current presence when logging in

Also show correct presence in title bar upon login
This commit is contained in:
James Booth
2013-01-31 00:40:27 +00:00
parent e6749d669d
commit 06abe13f19
6 changed files with 42 additions and 8 deletions

View File

@@ -365,7 +365,7 @@ accounts_get_last_presence(const char * const account_name)
}
jabber_presence_t
account_get_login_presence(const char * const account_name)
accounts_get_login_presence(const char * const account_name)
{
gchar *setting = g_key_file_get_string(accounts, account_name, "presence.login", NULL);
if (setting == NULL || (strcmp(setting, "online") == 0)) {