# HG changeset patch # User Michel Le Bihan # Date 1516989622 -3600 # Node ID 6f3859233515cbc48eb04cb152a17ef5e77f4ae4 # Parent f3485eb9cb8b17b5ecdbbceeb4fb389270281455 mod_pep_vcard_avatar: Don't set avatar hash if already set diff -r f3485eb9cb8b -r 6f3859233515 mod_pep_vcard_avatar/mod_pep_vcard_avatar.lua --- a/mod_pep_vcard_avatar/mod_pep_vcard_avatar.lua Fri Jan 12 09:01:25 2018 +0100 +++ b/mod_pep_vcard_avatar/mod_pep_vcard_avatar.lua Fri Jan 26 19:00:22 2018 +0100 @@ -187,8 +187,6 @@ photo = st.stanza("photo") photo:text(hash) x_vcard_update:add_child(photo) - elseif photo:get_text() then - photo:text(hash) end end end