Mercurial > prosody-hg
comparison plugins/mod_pep.lua @ 9143:817f666d9037
mod_pep: Add comment about 'hash_map' table
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Mon, 06 Aug 2018 23:20:47 +0200 |
| parents | 85bc624b8685 |
| children | fd50e9c8c417 |
comparison
equal
deleted
inserted
replaced
| 9142:85bc624b8685 | 9143:817f666d9037 |
|---|---|
| 20 -- username -> util.pubsub service object | 20 -- username -> util.pubsub service object |
| 21 local services = {}; | 21 local services = {}; |
| 22 | 22 |
| 23 -- username -> recipient -> set of nodes | 23 -- username -> recipient -> set of nodes |
| 24 local recipients = {}; | 24 local recipients = {}; |
| 25 | |
| 26 -- caps hash -> set of nodes | |
| 25 local hash_map = {}; | 27 local hash_map = {}; |
| 26 | 28 |
| 27 local host = module.host; | 29 local host = module.host; |
| 28 | 30 |
| 29 local node_config = module:open_store("pep", "map"); | 31 local node_config = module:open_store("pep", "map"); |
