aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-12-02 02:38:36 +0100
committerKim Alvefur <zash@zash.se>2018-12-02 02:38:36 +0100
commitc9f3911bd2825c3048c2e04bb328f6dbaab5db14 (patch)
tree7819234af6cb36c65bec2a37c8f141fd486ebb01 /plugins
parent38b328ad1be357a028a818eaad7c6c3541ac6759 (diff)
parent010770585cd6899a66fd5373192a94d479e74c86 (diff)
downloadprosody-c9f3911bd2825c3048c2e04bb328f6dbaab5db14.tar.gz
prosody-c9f3911bd2825c3048c2e04bb328f6dbaab5db14.zip
Merge 0.11->trunk
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_vcard_legacy.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/mod_vcard_legacy.lua b/plugins/mod_vcard_legacy.lua
index cf0724f3..38c56041 100644
--- a/plugins/mod_vcard_legacy.lua
+++ b/plugins/mod_vcard_legacy.lua
@@ -274,6 +274,7 @@ local function inject_xep153(event)
local origin, stanza = event.origin, event.stanza;
local username = origin.username;
if not username then return end
+ if stanza.attr.type then return end
local pep_service = mod_pep.get_pep_service(username);
stanza:remove_children("x", "vcard-temp:x:update");