aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-dispatcher.c
diff options
context:
space:
mode:
Diffstat (limited to 'libempathy/empathy-dispatcher.c')
-rw-r--r--libempathy/empathy-dispatcher.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libempathy/empathy-dispatcher.c b/libempathy/empathy-dispatcher.c
index 927cd5c3e..7e1492de8 100644
--- a/libempathy/empathy-dispatcher.c
+++ b/libempathy/empathy-dispatcher.c
@@ -1804,7 +1804,8 @@ empathy_dispatcher_handle_channels (TpSvcClientHandler *self,
account_path);
g_assert (account != NULL);
- connection = empathy_account_get_connection_for (account, connection_path);
+ connection = empathy_account_get_connection_for_path (account,
+ connection_path);
if (connection == NULL)
{
GError error = { TP_ERRORS, TP_ERROR_INVALID_ARGUMENT,