- Shipped
- November 17, 2026 at 5:12 AM UTC
- Author
- Kamo
- Commit
- 6c536bc
mod_kamo_meet_policy grants the 'member' affiliation in muc-occupant-pre-join so the organization's members (and hosts) walk past the lobby, but Prosody computes the joining occupant's role from its affiliation BEFORE that hook (new_occupant). In a members-only room 'none' has no role, so the joiner went in with role none and Prosody answered with the joiner's own unavailable presence: the second person 'left' on arrival and the room emptied. Only lobby-admitted guests and the first host (room not yet members-only) got in. let_in() now gives the role from the new affiliation. Live raw-XMPP probe: host, member, second host JOINED; guest knocks (registration-required) as designed.
