Merge pull request #21413 from ramonlsouza/issue-21317
fix: [3.0 Beta 2] Chat lock settings do not work as expected
This commit is contained in:
commit
bc5828c8c8
@ -571,7 +571,7 @@ const ChatMessageFormContainer: React.FC = () => {
|
||||
if (isPublicChat) {
|
||||
locked = (isLocked && disablePublicChat) || false;
|
||||
} else {
|
||||
locked = (isLocked && disablePrivateChat) || false;
|
||||
locked = (isLocked && disablePrivateChat && !chat?.participant?.isModerator) || false;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user