regression: validate the subscription status on unban
Merged
SA
6mo ago+10+10+01234567890123456789-5-5-0123456789
Proposed changes (including videos or screenshots)
Issue(s)
Steps to test or reproduce
Further comments
Summary by CodeRabbit
- Bug Fixes
- Improved error handling during user unban operations in rooms. The system now correctly distinguishes between invite subscriptions and other non-banned subscription states, and returns an appropriate error message when attempting to unban users who were not actually banned from the room, ensuring more reliable operations.