aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/empathy-invite-participant-dialog.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/empathy-invite-participant-dialog.c b/src/empathy-invite-participant-dialog.c
index d92b531ea..3e35e8374 100644
--- a/src/empathy-invite-participant-dialog.c
+++ b/src/empathy-invite-participant-dialog.c
@@ -151,11 +151,14 @@ filter_individual (EmpathyContactChooser *chooser,
{
EmpathyContact *member = l->data;
TpHandle handle;
+ TpContact *owner;
/* Try to get the non-channel specific handle. */
- handle = tp_channel_group_get_handle_owner (
+ owner = tp_channel_group_get_contact_owner (
TP_CHANNEL (self->priv->tp_chat),
- empathy_contact_get_handle (member));
+ empathy_contact_get_tp_contact (member));
+ handle = tp_contact_get_handle (owner);
+
if (handle == 0)
handle = empathy_contact_get_handle (member);