From 868b9ea3b9d18a06d20a630ba258c686672ca0be Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Tue, 4 Sep 2018 18:00:43 +0200 Subject: MUC: Allow vCard4 requests trough --- plugins/muc/muc.lib.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3