Default Chat Channel

Install this theme component

This theme component automatically opens a specific public chat when Discourse is loaded, aiming to stimulate more engagement.

There is one setting: the name of the public channel you want to open.

7 Likes

Hi, does nothing on Desktop for my site but works on mobile. Ideally I would like the opposite :smiley: , that the defaut chat would be presented on my right bar menu on Desktop and not on mobile, because on mobile it takes the whole browser window space and the site is not visible.

3 Likes

I have made some changes:

  • properly wait until chat has been initialized to avoid timing issues
  • don’t load on mobile view, because on mobile it takes the whole browser window space and the site is not visible.
2 Likes

Works perfectly, thanks ! :smiley:

2 Likes

NEAT!!! Will use this :slight_smile:

1 Like

I tested this component today and encountered the following issue: the Chat window frequently pops up in the admin panel, even after I have closed it before switching pages. Currently, I can almost consistently trigger the chat window to open in full-screen mode by clicking the Customize / Text link on the /admin/config/localization page of my self-hosted server. After closing it, I am returned to the website’s homepage instead of the page that the Customize / Text link pointed to.

The Discourse version I am using when encountering this issue is 2026.2.0-latest (50e774b49d), and the component version is 2025.10.30.

:memo: Note

Additional information: According to my incomplete statistics, under otherwise identical conditions, the probability of encountering this issue with the Horizon theme is significantly higher than with the Foundation theme. In more than ten consecutive tests with the latter, the chat window did not pop up in the admin panel, nor did clicking Customize / Text open the chat window.