aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/muc/history.lib.lua
diff options
context:
space:
mode:
authordaurnimator <quae@daurnimator.com>2014-04-21 17:51:32 -0400
committerdaurnimator <quae@daurnimator.com>2014-04-21 17:51:32 -0400
commit36353e3edb63ffa2612b0101d6a6133c9994c263 (patch)
tree495714305bd6bb50ef7e340b6e708f76ec90392c /plugins/muc/history.lib.lua
parentf7b24a0c2752bc002a749ed981919981b9c22dbf (diff)
downloadprosody-36353e3edb63ffa2612b0101d6a6133c9994c263.tar.gz
prosody-36353e3edb63ffa2612b0101d6a6133c9994c263.zip
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
Diffstat (limited to 'plugins/muc/history.lib.lua')
-rw-r--r--plugins/muc/history.lib.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/muc/history.lib.lua b/plugins/muc/history.lib.lua
index 417d62a8..596f92da 100644
--- a/plugins/muc/history.lib.lua
+++ b/plugins/muc/history.lib.lua
@@ -131,7 +131,7 @@ end
-- 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)