diff options
author | Sjoerd Simons <sjoerd.simons@collabora.co.uk> | 2010-05-08 22:28:47 +0800 |
---|---|---|
committer | Sjoerd Simons <sjoerd.simons@collabora.co.uk> | 2010-05-08 22:28:47 +0800 |
commit | a56bf15a5dca91b8b7bce593c939ec6404ae37b6 (patch) | |
tree | b66727ebaf5d0dd6f33a4386739f3ac59372aa12 | |
parent | 95f8148c1324e21bdec46ebe8c43037ffb6f2328 (diff) | |
download | gsoc2013-empathy-a56bf15a5dca91b8b7bce593c939ec6404ae37b6.tar gsoc2013-empathy-a56bf15a5dca91b8b7bce593c939ec6404ae37b6.tar.gz gsoc2013-empathy-a56bf15a5dca91b8b7bce593c939ec6404ae37b6.tar.bz2 gsoc2013-empathy-a56bf15a5dca91b8b7bce593c939ec6404ae37b6.tar.lz gsoc2013-empathy-a56bf15a5dca91b8b7bce593c939ec6404ae37b6.tar.xz gsoc2013-empathy-a56bf15a5dca91b8b7bce593c939ec6404ae37b6.tar.zst gsoc2013-empathy-a56bf15a5dca91b8b7bce593c939ec6404ae37b6.zip |
If there is no publish list, don't auto-add people to it
-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); |