# Breakout room "close all rooms" no longer works

**URL:** <https://devforum.zoom.us/t/breakout-room-close-all-rooms-no-longer-works/37932>\
**Category:** iOS\
**Created:** [December 8, 2020, 3:54pm UTC](https://devforum.zoom.us/t/breakout-room-close-all-rooms-no-longer-works/37932 "2020-12-08T15:54:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![nicolas.bonnet](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/nicolas.bonnet/32/19492_2.png) [@nicolas.bonnet](https://devforum.zoom.us/u/nicolas.bonnet)\
**Post date:** [December 8, 2020, 3:54pm UTC](https://devforum.zoom.us/t/breakout-room-close-all-rooms-no-longer-works/37932/1 "2020-12-08T15:54:17Z")

</div>

I am using the latest iOS SDK and using the SDK with the custom UI.

During regression testing, the breakout room feature develop on the previous SDK no longer works. I am able to join the breakout room normally but when the host close all the breakout room, I don’t receive any event using SDK with the Custom UI. I used to receive `- (void)onLostAttendeeRightsNotification` which no longer triggered.

I don’t see any new function in the Delegate which could replace this. Can you advice what needs to be done?

This is a critical issue which will block us to use the new version of the SDK.

Best regards,  
Nicolas

---

<div class="post-metadata">

**Author:** ![Michael\_Condon](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_condon/32/13543_2.png) [@Michael\_Condon](https://devforum.zoom.us/u/Michael_Condon)\
**Post date:** [December 9, 2020, 8:43pm UTC](https://devforum.zoom.us/t/breakout-room-close-all-rooms-no-longer-works/37932/2 "2020-12-09T20:43:01Z")

</div>

Hey @nicolas.bonnet,

I am sorry this is happening. I can understand that this would cause issues. I will attempt to reproduce this issue on my end. Out of curiosity, is onHasAttendeeRightsNotification called at any point?

Can you also provide any relevant code you have for this?

Thanks!  
Michael

---

<div class="post-metadata">

**Author:** ![nicolas.bonnet](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/nicolas.bonnet/32/19492_2.png) [@nicolas.bonnet](https://devforum.zoom.us/u/nicolas.bonnet)\
**Post date:** [January 8, 2021, 2:00pm UTC](https://devforum.zoom.us/t/breakout-room-close-all-rooms-no-longer-works/37932/3 "2021-01-08T14:00:55Z")

</div>

Hello @Michael_Condon ,

I realised that the issue came from `-(void)onLostAttendeeRightsNotification` which has been migrated to `-(void)onLostAttendeeRightsNotification:(BOOL)isStopBO`. The change was mentioned in the changelog but I didn’t get any warning from the code and it took some time to realise the change. SDK version upgrade should be easier to do.

Regarding this additional `:(BOOL)isStopBO`, I don’t really understand why you made such change. Currently when the host is closing the current breakout room or all of them, the user will loose its “right” to leave the breakout room, which force me to leave totally the zoom call and join back again. Knowing that the reason why I “LostAttendeeRights” is because the breakout room is stopped doesn’t help. I would prefer receive an event like `-(void)onBOClosed:(MobileRTCBOAttendee* _Nonnull)attendee` which allow to cleanly leave the breakout room and go back to the main room. This “attendee rights” make it hard to give a good experience (no rights == no possibility to leave the BO room).

Did I miss function which allow me to do that?

Best regards,  
Nicolas

---

<div class="post-metadata">

**Author:** ![Michael\_Condon](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_condon/32/13543_2.png) [@Michael\_Condon](https://devforum.zoom.us/u/Michael_Condon)\
**Post date:** [January 11, 2021, 8:31pm UTC](https://devforum.zoom.us/t/breakout-room-close-all-rooms-no-longer-works/37932/4 "2021-01-11T20:31:07Z")

</div>

Hey @nicolas.bonnet,

No, I do not think you missed anything here. I can understand how this current pattern can cause confusion and undesirable states. I will submit a feature request to the team to add -(void)onBOClosed:(MobileRTCBOAttendee\* \_Nonnull)attendee or something similar to it. This would indeed be a useful addition.

Thanks!  
Michael
