aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-chat-manager.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/empathy-chat-manager.c')
-rw-r--r--src/empathy-chat-manager.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/empathy-chat-manager.c b/src/empathy-chat-manager.c
index cfa38ec84..d16be299d 100644
--- a/src/empathy-chat-manager.c
+++ b/src/empathy-chat-manager.c
@@ -255,8 +255,12 @@ empathy_chat_manager_init (EmpathyChatManager *self)
}
/* Text channels handler */
- priv->handler = tp_simple_handler_new (dbus, FALSE, FALSE, "Empathy", FALSE,
- handle_channels, self, NULL);
+ priv->handler = tp_simple_handler_new (dbus, FALSE, FALSE, "Empathy",
+ FALSE, handle_channels, self, NULL);
+
+ /* EmpathyTpChat relies on this feature being prepared */
+ tp_base_client_add_connection_features_varargs (priv->handler,
+ TP_CONNECTION_FEATURE_CAPABILITIES, 0);
g_object_unref (dbus);