Software /
code /
prosody
Diff
plugins/mod_pep.lua @ 1457:4723bd466a54
mod_pep: Pass origin/session to publish_all()
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Thu, 02 Jul 2009 04:11:51 +0100 |
parent | 1451:cc0aa9470775 |
child | 1461:51f0202b0868 |
line wrap: on
line diff
--- a/plugins/mod_pep.lua Wed Jul 01 20:24:47 2009 -0400 +++ b/plugins/mod_pep.lua Thu Jul 02 04:11:51 2009 +0100 @@ -102,7 +102,7 @@ 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(