Software /
code /
prosody
Comparison
plugins/mod_pep.lua @ 2385:470004f8f4ed
mod_pep: Added a TODO.
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Mon, 21 Dec 2009 06:37:58 +0500 |
parent | 2384:7bec10f26082 |
child | 2925:692b3c6c5bd2 |
comparison
equal
deleted
inserted
replaced
2384:7bec10f26082 | 2385:470004f8f4ed |
---|---|
289 local bare = session.username..'@'..session.host; | 289 local bare = session.username..'@'..session.host; |
290 local user_data = data[bare]; | 290 local user_data = data[bare]; |
291 | 291 |
292 if user_data then | 292 if user_data then |
293 for node, _ in pairs(user_data) do | 293 for node, _ in pairs(user_data) do |
294 stanza:tag('item', {jid=bare, node=node}):up(); | 294 stanza:tag('item', {jid=bare, node=node}):up(); -- TODO we need to handle queries to these nodes |
295 end | 295 end |
296 end | 296 end |
297 end); | 297 end); |