# Leave Channel method overriding

**URL:** <https://community.sendbird.com/t/leave-channel-method-overriding/3426>\
**Category:** Sendbird Chat UIKit\
**Tags:** feature-request, android, ios, uikit, question\
**Created:** [November 24, 2021, 3:04pm UTC](https://community.sendbird.com/t/leave-channel-method-overriding/3426 "2021-11-24T15:04:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![nab0y4enko](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/nab0y4enko/32/1870_2.png) [@nab0y4enko](https://community.sendbird.com/u/nab0y4enko)\
**Post date:** [November 24, 2021, 3:04pm UTC](https://community.sendbird.com/t/leave-channel-method-overriding/3426/1 "2021-11-24T15:04:14Z")

</div>

Hey, Sendbird people!  
There are two types of channels in our application - required for mission participants and optional.  
Users can’t leave the required channel, only turn off notifications.  
Could you extend implementation of **SBUOpenChannelSettingsViewController.swift** and add the ability to override **leaveChannel()** method and/or edit the List of items available for this screen?

 ![Simulator Screen Shot - iPhone 13 - 2021-11-24 at 16.38.04](https://us1.discourse-cdn.com/flex020/uploads/sendbird/original/2X/3/3ece9ef08c3c364561fe1c455dbf26e44cb4754b.png)

---

<div class="post-metadata">

**Author:** ![Tyler](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/tyler/32/810_2.png) [@Tyler](https://community.sendbird.com/u/Tyler)\
**Post date:** [November 24, 2021, 3:11pm UTC](https://community.sendbird.com/t/leave-channel-method-overriding/3426/2 "2021-11-24T15:11:05Z")

</div>

Hi @nab0y4enko,

Let me submit this feature request to our Engineering team for review.

---

<div class="post-metadata">

**Author:** ![walkmn](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/walkmn/32/1787_2.png) [@walkmn](https://community.sendbird.com/u/walkmn)\
**Post date:** [November 26, 2021, 10:51am UTC](https://community.sendbird.com/t/leave-channel-method-overriding/3426/3 "2021-11-26T10:51:46Z")

</div>

For android library this functionality will be also helpful

---

<div class="post-metadata">

**Author:** ![elaine-herrera](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/elaine-herrera/32/2103_2.png) [@elaine-herrera](https://community.sendbird.com/u/elaine-herrera)\
**Post date:** [February 22, 2022, 3:26pm UTC](https://community.sendbird.com/t/leave-channel-method-overriding/3426/4 "2022-02-22T15:26:19Z")

</div>

Ability to override leaveChannel in SBUChannelListViewController will be helpful too
