From 87b8b96f15503c1151dc5f6795944fab81691796 Mon Sep 17 00:00:00 2001 From: SDE Date: Mon, 14 Aug 2023 19:15:26 +0300 Subject: [PATCH] 0.3.19 support chat v3 --- ChatServiceApp/funcs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ChatServiceApp/funcs.py b/ChatServiceApp/funcs.py index 35abcdb..a3dab12 100644 --- a/ChatServiceApp/funcs.py +++ b/ChatServiceApp/funcs.py @@ -77,7 +77,7 @@ def get_update_chat_Dict(data): if ticket: msgs = get_messages_for_ticket(ticket) # если меньше 3 сообщений значит выведена не полная форма - требуется другой шаблон - if len(msgs) < 3: + if len(msgs) < 3 and data['receiver'] == data['cur_user']: tpl_name = 'blocks/profile/b_support_chat.html' required_full_support_chat_html = True