# HG changeset patch # User Kim Alvefur # Date 1535838199 -7200 # Node ID 0cc535668fcec170250f5c2d42da904ac8eab413 # Parent 05bd21c122ae47a507de881101317fbee57f6ef4 mod_vcard_legacy: Support external avatars diff -r 05bd21c122ae -r 0cc535668fce plugins/mod_vcard_legacy.lua --- a/plugins/mod_vcard_legacy.lua Sat Sep 01 23:42:33 2018 +0200 +++ b/plugins/mod_vcard_legacy.lua Sat Sep 01 23:43:19 2018 +0200 @@ -114,6 +114,8 @@ end if data then vcard_temp:text_tag("BINVAL", data.tags[1]:get_text()); + elseif info and info.attr.url then + vcard_temp:text_tag("EXTVAL", info.attr.uri); end vcard_temp:up(); end