plugins/mod_vcard_legacy.lua
changeset 9289 992e986589b8
parent 9288 78673e81243f
child 9521 a62fa766d8f3
--- 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
+			-- <note> gets mapped into <NOTE> 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);