aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authordaurnimator <quae@daurnimator.com>2014-05-19 13:40:24 -0400
committerdaurnimator <quae@daurnimator.com>2014-05-19 13:40:24 -0400
commit61778d912d7b8eaf29609c0c928eb0f031e4583a (patch)
treefdbc7da7a6e683f1215c113e466c18233a045ac3 /plugins
parentc7f704026295901fadf0be6407110bd67075e0e3 (diff)
downloadprosody-61778d912d7b8eaf29609c0c928eb0f031e4583a.tar.gz
prosody-61778d912d7b8eaf29609c0c928eb0f031e4583a.zip
plugins/muc/muc: Always send occupant list to joining sessions
Diffstat (limited to 'plugins')
-rw-r--r--plugins/muc/muc.lib.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/muc/muc.lib.lua b/plugins/muc/muc.lib.lua
index 27d738de..df823180 100644
--- a/plugins/muc/muc.lib.lua
+++ b/plugins/muc/muc.lib.lua
@@ -453,7 +453,7 @@ function room_mt:handle_presence_to_occupant(origin, stanza)
end
self:save_occupant(dest_occupant);
- if orig_occupant == nil and is_first_dest_session then
+ if orig_occupant == nil then
-- Send occupant list to newly joined user
self:send_occupant_list(real_jid, function(nick, occupant)
-- Don't include self