From 1bd4a36326f6dd9965a95b617cc83ddd7be69b83 Mon Sep 17 00:00:00 2001 From: Waqas Hussain Date: Sun, 14 Jun 2009 17:33:22 +0500 Subject: util.muc, mod_muc: Commented rewriting of vCard requests' recipients' JID from full to bare, and marked it as a TODO --- util/muc.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util') diff --git a/util/muc.lua b/util/muc.lua index 6e7e152d..8f6963f8 100644 --- a/util/muc.lua +++ b/util/muc.lua @@ -274,7 +274,7 @@ local function room_handle_to_occupant(self, 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; self:route_stanza(stanza); elseif type ~= "error" and type ~= "result" then -- recipient not in room -- cgit v1.2.3