From 36043e35fb9885515ec7107f7073105bd2a486cb Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Sun, 9 Sep 2018 02:14:44 +0200 Subject: mod_vcard_legacy: Fix uppercase tag name (thanks pep.) Must have slipped on my shift key --- plugins/mod_vcard_legacy.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/mod_vcard_legacy.lua b/plugins/mod_vcard_legacy.lua index a59d0c26..1b877b34 100644 --- a/plugins/mod_vcard_legacy.lua +++ b/plugins/mod_vcard_legacy.lua @@ -158,7 +158,7 @@ module:hook("iq-set/self/vcard-temp:vCard", function (event) vcard4:tag("n") :text_tag("surname", N and N:get_child_text("FAMILY")) :text_tag("given", N and N:get_child_text("GIVEN")) - :text_tag("additional", N and N:get_child_text("MIDDLe")) + :text_tag("additional", N and N:get_child_text("MIDDLE")) :text_tag("prefix", N and N:get_child_text("PREFIX")) :text_tag("suffix", N and N:get_child_text("SUFFIX")) :up(); -- cgit v1.2.3