# Previous messages not showing when creating a channel with a user with past chat history

**URL:** <https://community.sendbird.com/t/previous-messages-not-showing-when-creating-a-channel-with-a-user-with-past-chat-history/9312>\
**Category:** iOS\
**Tags:** ios, uikit, bug\
**Created:** [April 2, 2024, 8:05pm UTC](https://community.sendbird.com/t/previous-messages-not-showing-when-creating-a-channel-with-a-user-with-past-chat-history/9312 "2024-04-02T20:05:14Z")\
**Posts on this page:** 4\
**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 2, 2024, 8:05pm UTC](https://community.sendbird.com/t/previous-messages-not-showing-when-creating-a-channel-with-a-user-with-past-chat-history/9312/1 "2024-04-02T20:05:15Z")

</div>

This is using v4 of the iOS SDKs.

When the user goes to create a channel from the SBUGroupChannelListViewController view controller, they do not see past history on the chat once they select the recipient if there is past message history.

Any help would be appreciated.

---

<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 3, 2024, 7:17pm UTC](https://community.sendbird.com/t/previous-messages-not-showing-when-creating-a-channel-with-a-user-with-past-chat-history/9312/2 "2024-04-03T19:17:36Z")

</div>

Hi @landonferrier – please try enabling the ‘Chat history’ setting as shown in the screenshot.

 ![Screenshot 2024-04-03 at 2.16.27 PM](https://us1.discourse-cdn.com/flex020/uploads/sendbird/original/2X/e/e471c3696fbcd98db56e7d2209c08fd30d41aa39.png)

---

<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 3, 2024, 10:36pm UTC](https://community.sendbird.com/t/previous-messages-not-showing-when-creating-a-channel-with-a-user-with-past-chat-history/9312/3 "2024-04-03T22:36:23Z")

</div>

This is for one on one conversations. When the user creates a new channel and selects a user they already have a channel with none of the previous messages are showing. Is that the intended sdk functionality?

---

<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 4, 2024, 5:35pm UTC](https://community.sendbird.com/t/previous-messages-not-showing-when-creating-a-channel-with-a-user-with-past-chat-history/9312/4 "2024-04-04T17:35:13Z")

</div>

Thanks for the clarification.

That is the default expected behavior when creating a channel – it creates a new channel every time. If you want to use the existing channel for the same members, instead of creating a new channel, you can create distinct channels. To do that, you can set the config as documented [here](https://sendbird.com/docs/chat/uikit/v3/ios/common-resources/overview#2-global-classes-3-sbuglobalcustomparams).
