From 2914c6d76ae6a76e551ccaad01bc9edf2f375d08 Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Mon, 9 Mar 2009 16:16:12 +0100 Subject: [PATCH] Also accept local-pending of publish if adding a contact --- libempathy/empathy-tp-contact-list.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libempathy/empathy-tp-contact-list.c b/libempathy/empathy-tp-contact-list.c index a0b40b02..0237570a 100644 --- a/libempathy/empathy-tp-contact-list.c +++ b/libempathy/empathy-tp-contact-list.c @@ -877,6 +877,11 @@ tp_contact_list_add (EmpathyContactList *list, tp_cli_channel_interface_group_call_add_members (priv->subscribe, -1, &handles, message, NULL, NULL, NULL, NULL); } + if (priv->publish && + g_hash_table_lookup (priv->pendings, GUINT_TO_POINTER (handle))) { + tp_cli_channel_interface_group_call_add_members (priv->publish, + -1, &handles, message, NULL, NULL, NULL, NULL); + } } static void -- 2.39.2