aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/muc/muc.lib.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-09-04 18:00:43 +0200
committerKim Alvefur <zash@zash.se>2018-09-04 18:00:43 +0200
commit08e97e608a817e7edf4e364e2afac444b7c7733b (patch)
tree30bc4a7feffbb5cd62827a32962bad73a968fac4 /plugins/muc/muc.lib.lua
parent9c080c9631fadab12391b0ad0f2349133449158d (diff)
downloadprosody-08e97e608a817e7edf4e364e2afac444b7c7733b.tar.gz
prosody-08e97e608a817e7edf4e364e2afac444b7c7733b.zip
MUC: Allow vCard4 requests trough
Diffstat (limited to 'plugins/muc/muc.lib.lua')
-rw-r--r--plugins/muc/muc.lib.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/muc/muc.lib.lua b/plugins/muc/muc.lib.lua
index a0499731..f4a56dbe 100644
--- a/plugins/muc/muc.lib.lua
+++ b/plugins/muc/muc.lib.lua
@@ -740,7 +740,7 @@ function room_mt:handle_iq_to_occupant(origin, stanza)
stanza.attr.from, stanza.attr.to = current_nick, occupant.jid;
log("debug", "%s sent private iq stanza to %s (%s)", from, to, occupant.jid);
local iq_ns = stanza.tags[1].attr.xmlns;
- if iq_ns == 'vcard-temp' or iq_ns == "http://jabber.org/protocol/pubsub" then
+ if iq_ns == 'vcard-temp' or iq_ns == "http://jabber.org/protocol/pubsub" or iq_ns == "urn:ietf:params:xml:ns:vcard-4.0" then
stanza.attr.to = jid_bare(stanza.attr.to);
end
self:route_stanza(stanza);