# HG changeset patch # User Matthew Wild # Date 1688691729 -3600 # Node ID dd4df71166eace8456068e3eb61f73424eb4d3d8 # Parent 30b9f78b50587d415c1ec9acd2e7533447f0e619 mod_muc_members_json: Set imported hats to active by default diff -r 30b9f78b5058 -r dd4df71166ea mod_muc_members_json/mod_muc_members_json.lua --- 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