Mercurial > prosody-modules
diff mod_pep_vcard_avatar/mod_pep_vcard_avatar.lua @ 2151:96aca307964b
mod_pep_vcard_avatar: Fix typo [luacheck]
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 03 Apr 2016 00:21:16 +0200 |
parents | c1ecc3bc88fa |
children | 724809023c92 |
line wrap: on
line diff
--- a/mod_pep_vcard_avatar/mod_pep_vcard_avatar.lua Sun Apr 03 00:19:51 2016 +0200 +++ b/mod_pep_vcard_avatar/mod_pep_vcard_avatar.lua Sun Apr 03 00:21:16 2016 +0200 @@ -114,7 +114,7 @@ end -- Publishing in the wrong order? local vcard = get_vcard(username); local new_photo = st.stanza("PHOTO", { xmlns = "vcard-temp" }) - :tag("TYPE"):text(metadat.attr.type):up() + :tag("TYPE"):text(metadata.attr.type):up() :tag("BINVAL"):text(pep_photo:get_child_text("data", "urn:xmpp:avatar:data")); replace_tag(vcard, new_photo);