# Chat Default Channel ID doesn't seem to work for me

**URL:** <https://meta.discourse.org/t/chat-default-channel-id-doesnt-seem-to-work-for-me/223821>\
**Category:** Bug\
**Tags:** chat\
**Created:** [April 9, 2022, 11:56pm UTC](https://meta.discourse.org/t/chat-default-channel-id-doesnt-seem-to-work-for-me/223821 "2022-04-09T23:56:32Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![jimkleiber](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jimkleiber/32/121814_2.png) [@jimkleiber](https://meta.discourse.org/u/jimkleiber)\
**Post date:** [April 9, 2022, 11:56pm UTC](https://meta.discourse.org/t/chat-default-channel-id-doesnt-seem-to-work-for-me/223821/1 "2022-04-09T23:56:32Z")

</div>

I’ve tried to set the `chat default channel id` in the Site Settings on my Discourse instance to various chat IDs, for example, `2`, which I believe is the chat ID in the URL scheme below:

`https://example.com/chat/channel/2/channel-name`

And yet it continues to show me the chat channel with ID 1, which is currently the staff channel.

I know the code first checks whether I have any mentions or unread messages:

> <https://github.com/discourse/discourse-chat/blob/7b21a51120888caae9902c67536aaf2d78dd6964/assets/javascripts/discourse/services/chat.js#L353-L361>

…and I don’t, so I’m not sure why it’s not falling back to the default `chat_default_channel_id` I set in the settings, as I’m confident I set it in the settings and that I have access to the chat channel with ID 2.

Any ideas what might be happening or where I could look for more detail into what’s going wrong?

---

_[View the full topic](https://meta.discourse.org/t/chat-default-channel-id-doesnt-seem-to-work-for-me/223821)._
