summaryrefslogtreecommitdiff
path: root/telepathy-glib/account-manager.c
diff options
context:
space:
mode:
Diffstat (limited to 'telepathy-glib/account-manager.c')
-rw-r--r--telepathy-glib/account-manager.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/telepathy-glib/account-manager.c b/telepathy-glib/account-manager.c
index 447f4185f..aac416b30 100644
--- a/telepathy-glib/account-manager.c
+++ b/telepathy-glib/account-manager.c
@@ -352,9 +352,9 @@ _tp_account_manager_update_most_available_presence (TpAccountManager *manager)
if (account == NULL)
{
- priv->most_available_presence = presence;
- priv->most_available_status = NULL;
- priv->most_available_status_message = NULL;
+ priv->most_available_presence = TP_CONNECTION_PRESENCE_TYPE_OFFLINE;
+ priv->most_available_status = g_strdup ("offline");
+ priv->most_available_status_message = g_strdup ("");
return;
}