From f75c43713b03ba17c6e5bee84d9d0b50c842ee0a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Hanol?= Date: Wed, 4 Dec 2024 16:34:28 +0100 Subject: [PATCH] FEATURE: bump DM limits from 20 to 50 (#30102) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit So people who are having a **lot** of 1-1/group conversations in #chat can have even more 😅 Internal ref - t/143226/8 --- .../javascripts/discourse/services/chat-channels-manager.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/chat/assets/javascripts/discourse/services/chat-channels-manager.js b/plugins/chat/assets/javascripts/discourse/services/chat-channels-manager.js index b26e0a97804..66a134ef1d4 100644 --- a/plugins/chat/assets/javascripts/discourse/services/chat-channels-manager.js +++ b/plugins/chat/assets/javascripts/discourse/services/chat-channels-manager.js @@ -6,7 +6,7 @@ import { popupAjaxError } from "discourse/lib/ajax-error"; import { debounce } from "discourse-common/utils/decorators"; import ChatChannel from "discourse/plugins/chat/discourse/models/chat-channel"; -const DIRECT_MESSAGE_CHANNELS_LIMIT = 20; +const DIRECT_MESSAGE_CHANNELS_LIMIT = 50; /* The ChatChannelsManager service is responsible for managing the loaded chat channels.