aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-tp-group.c
diff options
context:
space:
mode:
Diffstat (limited to 'libempathy/empathy-tp-group.c')
-rw-r--r--libempathy/empathy-tp-group.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libempathy/empathy-tp-group.c b/libempathy/empathy-tp-group.c
index 675854b27..f09d8ce1b 100644
--- a/libempathy/empathy-tp-group.c
+++ b/libempathy/empathy-tp-group.c
@@ -967,7 +967,7 @@ empathy_tp_group_get_invitation (EmpathyTpGroup *group,
}
if (remote_contact) {
- *remote_contact = contact;
+ *remote_contact = g_object_ref (contact);
}
return invitation;