Also accept local-pending of publish if adding a contact
authorXavier Claessens <xclaesse@gmail.com>
Mon, 9 Mar 2009 15:16:12 +0000 (16:16 +0100)
committerXavier Claessens <xclaesse@gmail.com>
Wed, 22 Apr 2009 10:21:14 +0000 (12:21 +0200)
libempathy/empathy-tp-contact-list.c

index a0b40b026fae6d205a4b47e8d1f2bdfd0eb44dc8..0237570a0d3e3557bfdecb0fcd957b86dc81bce4 100644 (file)
@@ -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);
        }
                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
 }
 
 static void