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
commitd2db4c5f4ae1319cca5614f90bd6b2aa3ac14469 (patch)
tree877a9c139268ae90e49f3c5cfa0cc92ea328053a /plugins
parent36043e35fb9885515ec7107f7073105bd2a486cb (diff)
downloadprosody-d2db4c5f4ae1319cca5614f90bd6b2aa3ac14469.tar.gz
prosody-d2db4c5f4ae1319cca5614f90bd6b2aa3ac14469.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