RocketChat / RocketChat/Rocket.Chat

[3.X.X][3.10.X] [3.11.0] Default channels are not displayed by default

Open
#20,575 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
46.1k
Forks
13.9k
Avg merge
3d 3h
Merged PRs (30d)
130

Description

Description:

I have defaulted 8 public channels so that they appear by default to users. This initially worked, but with versions 3.10 and 3.11 it no longer works. Even new users joining LDAP are forced to go to the channel directory to search, however the label is displayed which is a default channel.

Steps to reproduce:
  1. Go to '/admin/rooms'
  2. Click in the channels
  3. Enable as default
Expected behavior:

When a user accesses the service, they will see the channels marked by default in their contact list.
New users will be members by default on these channels.

Actual behavior:

Channels marked as default are not displayed automatically in the left column

Server Setup Information:
  • Version of Rocket.Chat Server:
  • Operating System: Ubuntu
  • Deployment Method: manual
  • Number of Running Instances: 1
  • DB Replicaset Oplog: Yes
  • NodeJS Version: 12.18.0
  • MongoDB Version: 4.0.21
Client Setup Information
Additional context
Relevant logs:

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the /admin/rooms channel settings flow and trace how a public channel marked as default is handled for existing and LDAP-created users. Reproduce the issue on the affected 3.10 or 3.11 versions, then verify that default channels appear in the contact list and that new users become members automatically.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.