From d2db4c5f4ae1319cca5614f90bd6b2aa3ac14469 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Sun, 9 Sep 2018 02:43:45 +0200 Subject: mod_vcard_legacy: Fix EXTVAL conversion (thanks pep.) Good thing uri and url doesn't look similar at all! --- plugins/mod_vcard_legacy.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') diff --git a/plugins/mod_vcard_legacy.lua b/plugins/mod_vcard_legacy.lua index 1b877b34..e4ac225d 100644 --- a/plugins/mod_vcard_legacy.lua +++ b/plugins/mod_vcard_legacy.lua @@ -124,7 +124,7 @@ module:hook("iq-get/bare/vcard-temp:vCard", function (event) 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); + vcard_temp:text_tag("EXTVAL", info.attr.url); end vcard_temp:up(); end -- cgit v1.2.3