chat routines
This commit is contained in:
SDE
2023-08-07 17:15:09 +03:00
parent 3f8b3e5c0f
commit bf08964ff2

View File

@@ -61,7 +61,7 @@ def update_chat_ajax(request):
tpl_name = 'blocks/profile/b_messages_container.html'
if 'ticket_id' in data:
if 'ticket_id' in data and data['ticket_id']:
ticket = MsgGroup.objects.get(id=data['ticket_id'])
sender = User.objects.get(id=data['sender'])