chat routines
This commit is contained in:
SDE
2023-08-08 18:18:52 +03:00
parent 5e5ba0b6fe
commit 29bdb33466

View File

@@ -90,7 +90,7 @@ def update_chat_ajax(request):
if (not msgs and not last_message_modifiedDT) or (msgs and last_message_modifiedDT and msgs[0].modifiedDT <= last_message_modifiedDT):
Dict.update({
'msgs_count': len(msgs)
'required_beep': False
})
return JsonResponse(Dict, status=200)
@@ -105,7 +105,7 @@ def update_chat_ajax(request):
Dict.update({
'html': html,
'msgs_count': len(msgs)
'required_beep': True,
})
return JsonResponse(Dict, status=200)