# HG changeset patch # User Kim Alvefur # Date 1536508067 -7200 # Node ID 992e986589b83e64aef4a543151ef0b796412f40 # Parent 78673e81243f692ad5805439214f957086e16f89 mod_vcard_legacy: Add some notes diff -r 78673e81243f -r 992e986589b8 plugins/mod_vcard_legacy.lua --- a/plugins/mod_vcard_legacy.lua Sun Sep 09 02:43:45 2018 +0200 +++ b/plugins/mod_vcard_legacy.lua Sun Sep 09 17:47:47 2018 +0200 @@ -205,6 +205,7 @@ if text then vcard4:tag("note"):text_tag("text", text):up(); end + -- gets mapped into in the other direction elseif tag.name == "ADR" then vcard4:tag("adr") :text_tag("pobox", tag:get_child_text("POBOX")) @@ -224,6 +225,7 @@ elseif tag.name == "PHOTO" then local avatar_type = tag:get_child_text("TYPE"); local avatar_payload = tag:get_child_text("BINVAL"); + -- Can EXTVAL be translated? No way to know the sha1 of the data? if avatar_payload then local avatar_raw = base64_decode(avatar_payload);