diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-04-20 20:27:52 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-04-20 20:33:47 +0800 |
commit | f2684964e27ae50e40b9708aeb5f46562b25df29 (patch) | |
tree | 8df171cca9f9c6ba0f541fd08b672989bef3724f | |
parent | 136e7561dbe34bafa1974ea6aa9aa5acceb00c61 (diff) | |
download | gsoc2013-empathy-f2684964e27ae50e40b9708aeb5f46562b25df29.tar gsoc2013-empathy-f2684964e27ae50e40b9708aeb5f46562b25df29.tar.gz gsoc2013-empathy-f2684964e27ae50e40b9708aeb5f46562b25df29.tar.bz2 gsoc2013-empathy-f2684964e27ae50e40b9708aeb5f46562b25df29.tar.lz gsoc2013-empathy-f2684964e27ae50e40b9708aeb5f46562b25df29.tar.xz gsoc2013-empathy-f2684964e27ae50e40b9708aeb5f46562b25df29.tar.zst gsoc2013-empathy-f2684964e27ae50e40b9708aeb5f46562b25df29.zip |
iterate_on_channels: continue instead of returning if a channel doesn't match
We are iterating on channels so we should check the remaining channels...
-rw-r--r-- | libempathy/empathy-tp-contact-list.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libempathy/empathy-tp-contact-list.c b/libempathy/empathy-tp-contact-list.c index 93742681a..f21979495 100644 --- a/libempathy/empathy-tp-contact-list.c +++ b/libempathy/empathy-tp-contact-list.c @@ -817,16 +817,16 @@ iterate_on_channels (EmpathyTpContactList *list, if (tp_strdiff (tp_asv_get_string (properties, TP_IFACE_CHANNEL ".ChannelType"), TP_IFACE_CHANNEL_TYPE_CONTACT_LIST)) - return; + continue; if (tp_asv_get_string (properties, TP_IFACE_CHANNEL ".TargetID") == NULL) - return; + continue; handle_type = tp_asv_get_uint32 (properties, TP_IFACE_CHANNEL ".TargetHandleType", NULL); if (handle_type != TP_HANDLE_TYPE_GROUP) - return; + continue; tp_contact_list_group_add_channel (list, path, properties); } |