Refactor handle_muc_occupant_online