[empathy] Also accept local-pending of publish if adding a contact
- From: Xavier Claessens <xclaesse src gnome org>
- To: svn-commits-list gnome org
- Subject: [empathy] Also accept local-pending of publish if adding a contact
- Date: Wed, 22 Apr 2009 06:28:06 -0400 (EDT)
commit 2914c6d76ae6a76e551ccaad01bc9edf2f375d08
Author: Xavier Claessens <xclaesse gmail com>
Date: Mon Mar 9 16:16:12 2009 +0100
Also accept local-pending of publish if adding a contact
---
libempathy/empathy-tp-contact-list.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/libempathy/empathy-tp-contact-list.c b/libempathy/empathy-tp-contact-list.c
index a0b40b0..0237570 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]