Realtime chat controls feature means that users with this permission (from layout api) can pause chat in real time. once chat is paused, everyone will be able to see previous messages but won't be able to send new messages.
For checking if user has pause chat - we check layout api for the role
For enabling/disabling chat state - we check for 'chatState' key on session store
Pre-launch Checklist
[x] The Documentation is updated accordingly, or this PR doesn't require it.
[x] I updated/added relevant documentation (doc comments with ///).
[x] I listed at least one issue that this PR fixes in the description above.
[x] I added new tests to check the change I am making, or this PR is test-exempt.
Description
Realtime chat controls feature means that users with this permission (from layout api) can pause chat in real time. once chat is paused, everyone will be able to see previous messages but won't be able to send new messages.
For checking if user has pause chat - we check layout api for the role For enabling/disabling chat state - we check for 'chatState' key on session store
Pre-launch Checklist
///
).