Merge pull request #23006 from overleaf/msm-chat-capabilities-poc-2

[web] Add option to disable chat for subscription

GitOrigin-RevId: 0052d060c74c39400496f7f9f54c820398d60012
This commit is contained in:
Miguel Serrano
2025-01-31 09:05:18 +00:00
committed by Copybot
parent ba60f885a4
commit 8ff8e7a4bf
14 changed files with 138 additions and 5 deletions
@@ -801,7 +801,8 @@ const _ProjectController = {
isTokenMember,
isInvitedMember
),
chatEnabled: Features.hasFeature('chat'),
chatEnabled:
Features.hasFeature('chat') && req.capabilitySet.has('chat'),
projectHistoryBlobsEnabled: Features.hasFeature(
'project-history-blobs'
),