UX: Add sidebar DM list back when public channels are disabled (#28301)

This commit is contained in:
Mark VanLandingham 2024-08-09 09:16:14 -05:00 committed by GitHub
parent df5561d780
commit 206bbb4255
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 7 deletions

View File

@ -17,13 +17,7 @@ export default class ChatController extends Controller {
if (this.shouldUseCoreSidebar) {
return false;
}
if (
this.publicMessageChannelsEmpty &&
this.enabledRouteCount === 1 &&
this.chat.userCanAccessDirectMessages
) {
return false;
}
return true;
}