aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-09-09 02:43:45 +0200
committerKim Alvefur <zash@zash.se>2018-09-09 02:43:45 +0200
commitf9845d48c5335a83f571c5d781db98569e3e7143 (patch)
tree877a9c139268ae90e49f3c5cfa0cc92ea328053a /plugins
parent406d1f46ab7c8e9feeb05cb1b2bf72d69991f955 (diff)
downloadprosody-f9845d48c5335a83f571c5d781db98569e3e7143.tar.gz
prosody-f9845d48c5335a83f571c5d781db98569e3e7143.zip
mod_vcard_legacy: Fix EXTVAL conversion (thanks pep.)
Good thing uri and url doesn't look similar at all!
Diffstat (limited to 'plugins')
-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