chat v2
This commit is contained in:
SDE
2023-08-11 14:20:01 +03:00
parent fbe54ad65a
commit 5aaa26d503

View File

@@ -76,9 +76,9 @@ def update_chat_ajax(request):
}) })
msgs = get_messages_for_ticket(ticket) msgs = get_messages_for_ticket(ticket)
Dict = get_ticketsDict_for_staff(request.user) context_Dict = get_ticketsDict_for_staff(request.user)
tickets_list_html = render_to_string( tickets_list_html = render_to_string(
'blocks/profile/b_list_of_tickets_support_chat.html', res_Dict, request=request) 'blocks/profile/b_list_of_tickets_support_chat.html', context_Dict, request=request)
res_Dict.update({'tickets_list_html': tickets_list_html}) res_Dict.update({'tickets_list_html': tickets_list_html})
else: else:
msgs = get_msgs_for_chat_w_users(sender, receiver) msgs = get_msgs_for_chat_w_users(sender, receiver)