aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-event-manager.c
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-10-19 19:12:09 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-10-20 15:09:00 +0800
commit3e908f6ba9caefd06a6fbedb7dae55c3a71b9f44 (patch)
tree74fd79379ca6b7fc518036c5a584680981657d2a /src/empathy-event-manager.c
parent8909adc8fa36c39d26d21bc7e3c3065bb1b6b74d (diff)
downloadgsoc2013-empathy-3e908f6ba9caefd06a6fbedb7dae55c3a71b9f44.tar
gsoc2013-empathy-3e908f6ba9caefd06a6fbedb7dae55c3a71b9f44.tar.gz
gsoc2013-empathy-3e908f6ba9caefd06a6fbedb7dae55c3a71b9f44.tar.bz2
gsoc2013-empathy-3e908f6ba9caefd06a6fbedb7dae55c3a71b9f44.tar.lz
gsoc2013-empathy-3e908f6ba9caefd06a6fbedb7dae55c3a71b9f44.tar.xz
gsoc2013-empathy-3e908f6ba9caefd06a6fbedb7dae55c3a71b9f44.tar.zst
gsoc2013-empathy-3e908f6ba9caefd06a6fbedb7dae55c3a71b9f44.zip
Ensure that the connection of the account passed to EmpathyTpChat has capabilities ready
Diffstat (limited to 'src/empathy-event-manager.c')
-rw-r--r--src/empathy-event-manager.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/empathy-event-manager.c b/src/empathy-event-manager.c
index fdd0672ee..0216eeab4 100644
--- a/src/empathy-event-manager.c
+++ b/src/empathy-event-manager.c
@@ -1206,6 +1206,10 @@ empathy_event_manager_init (EmpathyEventManager *manager)
priv->approver = tp_simple_approver_new (dbus, "Empathy.EventManager", FALSE,
approve_channels, manager, NULL);
+ /* EmpathyTpChat relies on this feature being prepared */
+ tp_base_client_add_connection_features_varargs (priv->approver,
+ TP_CONNECTION_FEATURE_CAPABILITIES, 0);
+
/* Private text channels */
tp_base_client_take_approver_filter (priv->approver,
tp_asv_new (