diff options
author | Kim Alvefur <zash@zash.se> | 2018-09-06 23:05:38 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2018-09-06 23:05:38 +0200 |
commit | f9378c55afdb182c4a285e68d06ac8898a1a2ebf (patch) | |
tree | 3b72a11d3729d1a24f65d71f3106e13ee3a18f0b | |
parent | e15cccfb97b7298398622bdeddd5bf579b3b1baf (diff) | |
download | prosody-f9378c55afdb182c4a285e68d06ac8898a1a2ebf.tar.gz prosody-f9378c55afdb182c4a285e68d06ac8898a1a2ebf.zip |
mod_vcard_legacy: Use correct method to clear avatar data
-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 e348b84f..4320d96c 100644 --- a/plugins/mod_vcard_legacy.lua +++ b/plugins/mod_vcard_legacy.lua @@ -137,7 +137,7 @@ module:hook("iq-set/self/vcard-temp:vCard", function (event) :tag("vcard", { xmlns = 'urn:ietf:params:xml:ns:vcard-4.0' }); if pep_service:purge("urn:xmpp:avatar:metadata", origin.full_jid) then - pep_service:publish("urn:xmpp:avatar:data", origin.full_jid); + pep_service:purge("urn:xmpp:avatar:data", origin.full_jid); end vcard4:tag("fn"):text_tag("text", vcard_temp:get_child_text("FN")):up(); |