0.3.19
support chat v3
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user