From 5890415b0600bbcceb2b073efe5606601ddd81ce Mon Sep 17 00:00:00 2001 From: SDE Date: Mon, 14 Aug 2023 18:12:32 +0300 Subject: [PATCH] 0.3.17 support chat v3 --- ChatServiceApp/funcs.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ChatServiceApp/funcs.py b/ChatServiceApp/funcs.py index ec2d15d..c785d97 100644 --- a/ChatServiceApp/funcs.py +++ b/ChatServiceApp/funcs.py @@ -114,6 +114,8 @@ def update_chat(data): msgs = get_messages_for_ticket(ticket) context_Dict.update({'ticket': ticket}) res_Dict.update({'ticket': ticket}) + if ticket.manager: + res_Dict.update({'new_msg_allow': True}) context_Dict.update({'messages': msgs}) chat_html = render_to_string(tpl_name, context_Dict)