Merge with trunk
[prosody.git] / plugins / mod_muc.lua
index fa85f78f9980607f476dd3d2c4463f3a16e3e1c0..a7b8db5fae46778d4d8dfba3d76e36cea5397a9a 100644 (file)
@@ -333,7 +333,7 @@ function handle_to_occupant(origin, stanza) -- PM, vCards, etc
                if o_data then
                        log("debug", "%s sent private stanza to %s (%s)", from, to, o_data.jid);
                        local jid = o_data.jid;
-                       if stanza.name=='iq' and type=='get' and stanza.tags[1].attr.xmlns == 'vcard-temp' then jid = jid_bare(jid); end
+                       -- TODO if stanza.name=='iq' and type=='get' and stanza.tags[1].attr.xmlns == 'vcard-temp' then jid = jid_bare(jid); end
                        stanza.attr.to, stanza.attr.from = jid, current_nick;
                        core_route_stanza(component, stanza);
                elseif type ~= "error" and type ~= "result" then -- recipient not in room