Starred chats disappear if user is in more than 100 chats

Starred chat channels disappear when a user follows more than 100 public channels

A user who follows more than 100 public category chat channels cannot reliably see all their starred channels after reloading Discourse.

I verified the following:

  • /chat/api/me/channels returns exactly 100 followed public channels.
  • The returned channels are ordered alphabetically.
  • A channel outside those first 100 is absent from the sidebar and Starred section.
  • Fetching that channel directly confirms it is open with following=true and starred=true.
  • Users following fewer than 100 public channels see the same starred channel normally.

The backend applies MAX_PUBLIC_CHANNEL_RESULTS = 100 after alphabetical ordering:

The frontend appears to derive starredChannels by filtering the already truncated general channel collection:

This became consistently visible after the alphabetical ordering change:

Expected behavior: all joined and starred channels should appear in Starred regardless of their position in the general public-channel result. Possible fixes would be loading starred channels independently or paginating all followed public channels.

thanks for the report @ARK-Helena :+1: this borderline feels edge-casey[1] so i “cut” the apple in two and added support for fetching starred channels independently from regular channels, but still leaving the 100 limit per “type”.


  1. really, 100 starred channels? ↩︎

wow @zogstrip that was blazing fast :slight_smile: I wonder, are users who belong to more than 100 chats of either type still able to load them all in the sidebar, is there some sort of pagination in sidebar, or at least an indication that their list is cut? Thank you very much! :slight_smile:

no there’s none, that’s why i said i cut the apple in two because adding pagination would be much more work, and since this is a very unusual state to be in, we’ll have to wait for more “user report” before putting in the work.