UX: increase limit in chat channel fetcher (#31406)

Increases the number of chat channels loading to prevent missing
notifications for channels beyond the current limit.
This commit is contained in:
David Battersby 2025-02-19 23:51:46 +04:00 committed by GitHub
parent 4b42be0e18
commit 6524e72088
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2,7 +2,7 @@
module Chat
class ChannelFetcher
MAX_PUBLIC_CHANNEL_RESULTS = 50
MAX_PUBLIC_CHANNEL_RESULTS = 100
# NOTE: this should always be > than `DIRECT_MESSAGE_CHANNELS_LIMIT` in `chat-channel-manager.js`
MAX_DM_CHANNEL_RESULTS = 75