--- 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);