Software /
code /
prosody
Diff
plugins/muc/history.lib.lua @ 6231:bc12a8253f94
plugins/muc/muc.lib: Move sending of occupant list to joining user out of hook, and into main flow: It has to occur before publication of their status
author | daurnimator <quae@daurnimator.com> |
---|---|
date | Mon, 21 Apr 2014 17:51:32 -0400 |
parent | 6215:1dd09dc04945 |
child | 6240:641756a6a5f7 |
line wrap: on
line diff
--- a/plugins/muc/history.lib.lua Mon Apr 21 17:49:57 2014 -0400 +++ b/plugins/muc/history.lib.lua Mon Apr 21 17:51:32 2014 -0400 @@ -131,7 +131,7 @@ -- Send history on join module:hook("muc-occupant-joined", function(event) send_history(event.room, event.stanza); -end, 50); -- Between occupant list (80) and subject(20) +end, 50); -- Before subject(20) -- add to history module:hook("muc-broadcast-message", function(event)