diff options
author | Matthew Wild <mwild1@gmail.com> | 2009-07-02 04:11:51 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2009-07-02 04:11:51 +0100 |
commit | 0e486fe72b4bc813cc9e7166a041d4294f75a63e (patch) | |
tree | 48114c7e1bb71cf0748201de8cc01f3a9b01808d /plugins/mod_pep.lua | |
parent | 0ba13417109702dfe58ab29e497825366d3a6464 (diff) | |
download | prosody-0e486fe72b4bc813cc9e7166a041d4294f75a63e.tar.gz prosody-0e486fe72b4bc813cc9e7166a041d4294f75a63e.zip |
mod_pep: Pass origin/session to publish_all()
Diffstat (limited to 'plugins/mod_pep.lua')
-rw-r--r-- | plugins/mod_pep.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_pep.lua b/plugins/mod_pep.lua index c6811928..429c8b95 100644 --- a/plugins/mod_pep.lua +++ b/plugins/mod_pep.lua @@ -102,7 +102,7 @@ module:hook("presence/bare", function(event) recipients[user] = recipients[user] or {}; if hash_map[hash] then recipients[user][recipient] = hash_map[hash]; - publish_all(user, recipient); + publish_all(user, recipient, origin); else recipients[user][recipient] = hash; origin.send( |