mod_muc_members_json/mod_muc_members_json.lua
changeset 5591 dd4df71166ea
parent 5590 30b9f78b5058
child 5661 80abda15a1e9
--- a/mod_muc_members_json/mod_muc_members_json.lua	Fri Jul 07 01:25:44 2023 +0100
+++ b/mod_muc_members_json/mod_muc_members_json.lua	Fri Jul 07 02:02:09 2023 +0100
@@ -36,6 +36,7 @@
 	if muc_config.member_hat then
 		hats[muc_config.member_hat.id] = {
 			title = muc_config.member_hat.title;
+			active = true;
 		};
 	end
 	if muc_config.team_hats and member_info.roles then
@@ -44,6 +45,7 @@
 			if hat then
 				hats[hat.id] = {
 					title = hat.title;
+					active = true;
 				};
 			end
 		end