frappe / chat

Modern Chat App for Frappe
Other
106 stars 131 forks source link

Guest Chat is broadcasting to all erpnext users. #29

Open Vishnualtair opened 2 years ago

Vishnualtair commented 2 years ago

When a user with no access to erpnext system uses "chat with us" ,the messages are broadcasted to all erpnext users Screenshot from 2022-02-23 10-44-15 frappe_chat_editted . From the database it is seen that the message is visible to every other users in the system.

Version details: $bench version chat 0.0.1 erpnext 13.x.x-develop frappe 14.x.x-develop

mohamadosama commented 2 years ago

And also defining the roles that have chat enabled doesn't solve the issue. I created a specific role for chat, but still all users see the messages. The bigger problem is that when the other system users reply, all their messages will not have a different labels, only my message will show with a blue background while everyone else's message will have a gray background without a name for a sender. image

djpalshikar commented 2 years ago

confirming this issue