Software /
code /
prosody
Comparison
plugins/mod_vcard_legacy.lua @ 9284:161f604e14fa
mod_vcard_legacy: Fix uppercase tag name (thanks pep.)
Must have slipped on my shift key
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 09 Sep 2018 02:14:44 +0200 |
parent | 9273:f2258e9750cf |
child | 9285:78673e81243f |
comparison
equal
deleted
inserted
replaced
9283:e977b64ebd81 | 9284:161f604e14fa |
---|---|
156 local N = vcard_temp:get_child("N"); | 156 local N = vcard_temp:get_child("N"); |
157 | 157 |
158 vcard4:tag("n") | 158 vcard4:tag("n") |
159 :text_tag("surname", N and N:get_child_text("FAMILY")) | 159 :text_tag("surname", N and N:get_child_text("FAMILY")) |
160 :text_tag("given", N and N:get_child_text("GIVEN")) | 160 :text_tag("given", N and N:get_child_text("GIVEN")) |
161 :text_tag("additional", N and N:get_child_text("MIDDLe")) | 161 :text_tag("additional", N and N:get_child_text("MIDDLE")) |
162 :text_tag("prefix", N and N:get_child_text("PREFIX")) | 162 :text_tag("prefix", N and N:get_child_text("PREFIX")) |
163 :text_tag("suffix", N and N:get_child_text("SUFFIX")) | 163 :text_tag("suffix", N and N:get_child_text("SUFFIX")) |
164 :up(); | 164 :up(); |
165 | 165 |
166 for tag in vcard_temp:childtags() do | 166 for tag in vcard_temp:childtags() do |