aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-account-manager.c
diff options
context:
space:
mode:
Diffstat (limited to 'libempathy/empathy-account-manager.c')
-rw-r--r--libempathy/empathy-account-manager.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/libempathy/empathy-account-manager.c b/libempathy/empathy-account-manager.c
index 9f0c71003..7624122d8 100644
--- a/libempathy/empathy-account-manager.c
+++ b/libempathy/empathy-account-manager.c
@@ -866,6 +866,22 @@ empathy_account_manager_request_global_presence (
}
TpConnectionPresenceType
+empathy_account_manager_get_requested_global_presence (
+ EmpathyAccountManager *manager,
+ gchar **status,
+ gchar **message)
+{
+ EmpathyAccountManagerPriv *priv = GET_PRIV (manager);
+
+ if (status != NULL)
+ *status = g_strdup (priv->requested_status);
+ if (message != NULL)
+ *message = g_strdup (priv->requested_status_message);
+
+ return priv->requested_presence;
+}
+
+TpConnectionPresenceType
empathy_account_manager_get_global_presence (
EmpathyAccountManager *manager,
gchar **status,