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
commita9e9c490274549c48680a8bf699806a1e069845e (patch)
tree7819234af6cb36c65bec2a37c8f141fd486ebb01 /plugins
parent3836d03c37dbd7f3dcd07eb68dab3ca5f0290329 (diff)
parent76536dab05ed39a321accdcb7a3808f0c24cc42e (diff)
downloadprosody-a9e9c490274549c48680a8bf699806a1e069845e.tar.gz
prosody-a9e9c490274549c48680a8bf699806a1e069845e.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");