telepathy-gabble: vcard-manager: clarify commentary in CLEAR path

Will Thompson wjt at kemper.freedesktop.org
Thu Dec 6 09:37:23 PST 2012


Module: telepathy-gabble
Branch: master
Commit: dbd66dd645e5e17f8915cce28163f7ba34dba73f
URL:    http://cgit.freedesktop.org/telepathy/telepathy-gabble/commit/?id=dbd66dd645e5e17f8915cce28163f7ba34dba73f

Author: Will Thompson <will.thompson at collabora.co.uk>
Date:   Mon Nov 26 17:00:28 2012 +0000

vcard-manager: clarify commentary in CLEAR path

---

 src/vcard-manager.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/vcard-manager.c b/src/vcard-manager.c
index 5beea7d..e851212 100644
--- a/src/vcard-manager.c
+++ b/src/vcard-manager.c
@@ -1150,7 +1150,8 @@ gabble_vcard_manager_edit_info_apply (GabbleVCardManagerEditInfo *info,
           wocky_stanza_get_top_node (msg), "vCard", NS_VCARD_TEMP);
 
       /* ... but as a special case, the photo gets copied in from the old
-       * vCard, because SetContactInfo doesn't touch photos */
+       * vCard, because SetContactInfo doesn't touch photos, and CLEAR is only
+       * used by SetContactInfo */
       node = wocky_node_get_child (old_vcard, "PHOTO");
 
       if (node != NULL)



More information about the telepathy-commits mailing list