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)