[telepathy-mission-control/master] McdAccount: set_enabled: if Enabled becomes TRUE, re-set RequestedPresence
Simon McVittie
simon.mcvittie at collabora.co.uk
Thu Jun 25 08:11:30 PDT 2009
This means that if RequestedPresence was an online presence, we'll go
online when enabled.
---
src/mcd-account.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/mcd-account.c b/src/mcd-account.c
index 8dfa8df..fd13ed7 100644
--- a/src/mcd-account.c
+++ b/src/mcd-account.c
@@ -936,6 +936,10 @@ set_enabled (TpSvcDBusProperties *self, const gchar *name, const GValue *value,
if (enabled)
{
+ mcd_account_request_presence_int (account,
+ priv->req_presence_type,
+ priv->req_presence_status,
+ priv->req_presence_message);
_mcd_account_maybe_autoconnect (account);
}
}
--
1.5.6.5
More information about the telepathy-commits
mailing list