aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy
diff options
context:
space:
mode:
Diffstat (limited to 'libempathy')
-rw-r--r--libempathy/empathy-dispatcher.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libempathy/empathy-dispatcher.c b/libempathy/empathy-dispatcher.c
index 3728a45d2..711d7c854 100644
--- a/libempathy/empathy-dispatcher.c
+++ b/libempathy/empathy-dispatcher.c
@@ -531,7 +531,7 @@ dispatcher_connection_new_channel (EmpathyDispatcher *dispatcher,
if (handle_type == TP_CONN_HANDLE_TYPE_CONTACT)
{
- EmpathyContactFactory *factory = empathy_contact_factory_new ();
+ EmpathyContactFactory *factory = empathy_contact_factory_dup_singleton ();
contact = empathy_contact_factory_get_from_handle (factory,
cd->account, handle);
g_object_unref (factory);