diff options
-rw-r--r-- | libempathy/empathy-tp-contact-list.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libempathy/empathy-tp-contact-list.c b/libempathy/empathy-tp-contact-list.c index f21979495..f8d897185 100644 --- a/libempathy/empathy-tp-contact-list.c +++ b/libempathy/empathy-tp-contact-list.c @@ -655,6 +655,9 @@ tp_contact_list_subscribe_group_members_changed_cb (TpChannel *channel, add_to_members (list, remote_pending); /* Implicitly accept pending request of contacts which are now members. */ + if (priv->publish == NULL) + return; + accept = g_array_new (FALSE, FALSE, sizeof (TpHandle)); for (i = 0; i < added->len; i++) { TpHandle handle = g_array_index (added, TpHandle, i); |