aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/mod_vcard_legacy.lua2
1 files changed, 1 insertions, 1 deletions
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