We have the option to restrict the chat feature in chat settings through the roles table. But it doesn't work because every user has a 'Guest' role and while checking if the user has common roles compared with roles added in the roles table it always returns true because the roles table was extended with ['All', 'Guest'].
We have the option to restrict the chat feature in chat settings through the roles table. But it doesn't work because every user has a 'Guest' role and while checking if the user has common roles compared with roles added in the roles table it always returns true because the roles table was extended with ['All', 'Guest'].