Closed devanshkansagra closed 5 days ago
Hey, I think you need not to do these changes. In the following code:
const canSendMsg =
channelLevelRoles.length > 0 &&
postMsgRoles.some((role) => allRoles.includes(role));
Just remove channelLevelRoles.length > 0 &&
, and everything will start working properly."
Yep, now check if things are working fine !
Remove all your codes before testing
LGTM !
Brief Title
Fixed: The read-only is also set for admins which should not be the case
Acceptance Criteria fulfillment
Fixes #541
Code that fixed
(in ChatHeader.js => getChannelInfo() function)
Video/Screenshots
Screencast from 2024-06-26 12-08-54.webm