Software /
code /
prosody-modules
Changeset
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 | 2150:c1ecc3bc88fa |
children | 2152:bb4a2e4b7ba7 |
files | mod_pep_vcard_avatar/mod_pep_vcard_avatar.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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);