Skip to content
This repository has been archived by the owner on Nov 9, 2023. It is now read-only.

Website Chatting for existing users throws an error #46

Open
djpalshikar opened this issue Aug 29, 2022 · 0 comments
Open

Website Chatting for existing users throws an error #46

djpalshikar opened this issue Aug 29, 2022 · 0 comments

Comments

@djpalshikar
Copy link

While starting a website chat if the user is an existing website user with Frappe, the chat throws up an error.

Traceback (most recent call last): File "apps/frappe/frappe/app.py", line 66, in application response = frappe.handler.handle() File "apps/frappe/frappe/handler.py", line 38, in handle data = execute_cmd(cmd) File "apps/frappe/frappe/handler.py", line 76, in execute_cmd return frappe.call(method, **frappe.form_dict) File "apps/frappe/frappe/__init__.py", line 1457, in call return fn(*args, **newargs) File "env/lib/python3.8/site-packages/chat/api/message.py", line 60, in get_all if not is_user_allowed_in_room(room, email): File "env/lib/python3.8/site-packages/chat/utils/__init__.py", line 190, in is_user_allowed_in_room if frappe.session.user == "Guest" and room_detail.guest != email: AttributeError: 'NoneType' object has no attribute 'guest'
Screenshot from 2022-08-29 17-44-11
Screenshot from 2022-08-29 17-44-40

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant