# Channel created when there already is a channel

**URL:** <https://community.sendbird.com/t/channel-created-when-there-already-is-a-channel/9341>\
**Category:** iOS\
**Created:** [April 8, 2024, 7:22pm UTC](https://community.sendbird.com/t/channel-created-when-there-already-is-a-channel/9341 "2024-04-08T19:22:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![landonferrier](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/landonferrier/32/5072_2.png) [@landonferrier](https://community.sendbird.com/u/landonferrier)\
**Post date:** [April 8, 2024, 7:22pm UTC](https://community.sendbird.com/t/channel-created-when-there-already-is-a-channel/9341/1 "2024-04-08T19:22:50Z")

</div>

Hello. I am using v4 of the UIKit SDK from sendbird in iOS. I allow user chats 1v1 and group chats, which are distinct. When the user goes to my chat tab, I show a channel list view controller from the sdk where they can tap on a user to initiate a conversation. But, this view controller should not be creating a new channel when the user already has a private 1v1 channel with the user. Instead, it is creating a new channel when they already have a distinct one it should use and pull messages from.

---

<div class="post-metadata">

**Author:** ![taha.saghir](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/taha.saghir/32/2094_2.png) [@taha.saghir](https://community.sendbird.com/u/taha.saghir)\
**Post date:** [April 9, 2024, 7:30pm UTC](https://community.sendbird.com/t/channel-created-when-there-already-is-a-channel/9341/2 "2024-04-09T19:30:47Z")

</div>

I tested in your Sendbird app using the below config as suggested on your previous post [here](https://community.sendbird.com/t/previous-messages-not-showing-when-creating-a-channel-with-a-user-with-past-chat-history/9312/4).

Please refer to the recording [here](https://drive.google.com/file/d/1DFa53WBaLl0T8k4dpU4ziCp4gOJ0GYQ0/view?usp=sharing) – it’s working as expected. A distinct channel is created the first time, and the second time, it pulls the same channel instead of creating a new channel.

```auto
SBUGlobalCustomParams.groupChannelParamsCreateBuilder = {params in
    params?.isDistinct = true
}

```
