From: Xavier Claessens Date: Mon, 9 Mar 2009 15:16:12 +0000 (+0100) Subject: Also accept local-pending of publish if adding a contact X-Git-Url: https://git.0d.be/?p=empathy.git;a=commitdiff_plain;h=2914c6d76ae6a76e551ccaad01bc9edf2f375d08;ds=sidebyside Also accept local-pending of publish if adding a contact --- 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