# HG changeset patch # User Kim Alvefur # Date 1536076843 -7200 # Node ID f13517b63e6cb23513395af3c424756809dd674e # Parent 4285d1efaf03d4680be49e90483feacb66461d51 MUC: Allow vCard4 requests trough diff -r 4285d1efaf03 -r f13517b63e6c plugins/muc/muc.lib.lua --- a/plugins/muc/muc.lib.lua Tue Sep 04 11:59:17 2018 +0100 +++ b/plugins/muc/muc.lib.lua Tue Sep 04 18:00:43 2018 +0200 @@ -740,7 +740,7 @@ 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);