Set affiliation to 'none' after removing registration from room.
Removing registration from room calls #addNone, which removes the requester JID from all affiliation lists. But #applyAffiliationChange sets the affiliation back to 'member' after it does not find the JID in any affiliation lists. It should set the affiliation to 'none' before sending the updated presences.
Showing
Please register or sign in to comment