Changeset

6249:2420e308f64a

plugins/muc/muc: Always send occupant list to joining sessions
author daurnimator <quae@daurnimator.com>
date Mon, 19 May 2014 13:40:24 -0400
parents 6248:4569b8cbd269
children 6250:454ef19e7925
files plugins/muc/muc.lib.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/muc/muc.lib.lua	Mon May 19 13:39:45 2014 -0400
+++ b/plugins/muc/muc.lib.lua	Mon May 19 13:40:24 2014 -0400
@@ -453,7 +453,7 @@
 			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