aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_muc.lua
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2009-06-14 17:33:22 +0500
committerWaqas Hussain <waqas20@gmail.com>2009-06-14 17:33:22 +0500
commit1bd4a36326f6dd9965a95b617cc83ddd7be69b83 (patch)
tree750562c5c14505b07f34c069446860ecf41860d0 /plugins/mod_muc.lua
parentf52647433b521b35ce906c96ede576e76ad65e4c (diff)
downloadprosody-1bd4a36326f6dd9965a95b617cc83ddd7be69b83.tar.gz
prosody-1bd4a36326f6dd9965a95b617cc83ddd7be69b83.zip
util.muc, mod_muc: Commented rewriting of vCard requests' recipients' JID from full to bare, and marked it as a TODO
Diffstat (limited to 'plugins/mod_muc.lua')
-rw-r--r--plugins/mod_muc.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_muc.lua b/plugins/mod_muc.lua
index fa85f78f..a7b8db5f 100644
--- a/plugins/mod_muc.lua
+++ b/plugins/mod_muc.lua
@@ -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