diff options
author | daurnimator <quae@daurnimator.com> | 2014-06-17 15:18:43 -0400 |
---|---|---|
committer | daurnimator <quae@daurnimator.com> | 2014-06-17 15:18:43 -0400 |
commit | 888029fa95c563e507a63b8291b426b4965130a9 (patch) | |
tree | cbc89142bea59e6fbe4308d3e653a65a9bb1594c /plugins/muc/history.lib.lua | |
parent | dea262f569c57679977957ba575d99343cb4cd06 (diff) | |
download | prosody-888029fa95c563e507a63b8291b426b4965130a9.tar.gz prosody-888029fa95c563e507a63b8291b426b4965130a9.zip |
plugins/muc: Fix use of incorrect event on occupant join
Diffstat (limited to 'plugins/muc/history.lib.lua')
-rw-r--r-- | plugins/muc/history.lib.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/muc/history.lib.lua b/plugins/muc/history.lib.lua index 1c14cf84..4129e7fa 100644 --- a/plugins/muc/history.lib.lua +++ b/plugins/muc/history.lib.lua @@ -130,7 +130,7 @@ local function send_history(room, stanza) end -- Send history on join -module:hook("muc-occupant-joined", function(event) +module:hook("muc-occupant-session-new", function(event) send_history(event.room, event.stanza); end, 50); -- Before subject(20) |