diff options
author | Kim Alvefur <zash@zash.se> | 2018-09-09 02:14:44 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2018-09-09 02:14:44 +0200 |
commit | 36043e35fb9885515ec7107f7073105bd2a486cb (patch) | |
tree | 79171b77b7986491f5a6427500bd336de59ab1e4 | |
parent | ea8133f31d811764fe60a180b074c03149986c2b (diff) | |
download | prosody-36043e35fb9885515ec7107f7073105bd2a486cb.tar.gz prosody-36043e35fb9885515ec7107f7073105bd2a486cb.zip |
mod_vcard_legacy: Fix uppercase tag name (thanks pep.)
Must have slipped on my shift key
-rw-r--r-- | plugins/mod_vcard_legacy.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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(); |