Disable other chat settings when a chat is locked (#10623)
This commit is contained in:
@@ -83,7 +83,9 @@ export function MessagesListGroupInfoPanel({
|
||||
)
|
||||
}
|
||||
|
||||
const showButtons = isOwner || isJoinLinkEnabled
|
||||
const isLocked = convo.details.lockStatus !== 'unlocked'
|
||||
|
||||
const showButtons = !isLocked && (isOwner || isJoinLinkEnabled)
|
||||
|
||||
return (
|
||||
<>
|
||||
|
||||
Reference in New Issue
Block a user