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 | ebfed28595275e68a85f8c70c859e7cf91c57ca4 (patch) | |
tree | 3b72a11d3729d1a24f65d71f3106e13ee3a18f0b /plugins | |
parent | d78bd730e5654ba99f1fbdda5ef07b8b271efe4b (diff) | |
download | prosody-ebfed28595275e68a85f8c70c859e7cf91c57ca4.tar.gz prosody-ebfed28595275e68a85f8c70c859e7cf91c57ca4.zip |
mod_vcard_legacy: Use correct method to clear avatar data
Diffstat (limited to 'plugins')
-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(); |