chat icon indicating copy to clipboard operation
chat copied to clipboard

fix: Dont show chat button if user role is restricted

Open shariquerik opened this issue 2 years ago • 0 comments

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'].

image image

shariquerik avatar Aug 30 '22 04:08 shariquerik