aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/muc
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
commit4cc91481bf8eaa34ba1d5350dcd1119e7b45f8a7 (patch)
treefdbc7da7a6e683f1215c113e466c18233a045ac3 /plugins/muc
parent2ca609d4fd0bd1a4414de184b657425df86bafc3 (diff)
downloadprosody-4cc91481bf8eaa34ba1d5350dcd1119e7b45f8a7.tar.gz
prosody-4cc91481bf8eaa34ba1d5350dcd1119e7b45f8a7.zip
plugins/muc/muc: Always send occupant list to joining sessions
Diffstat (limited to 'plugins/muc')
-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