0.12.22 timezone in chat messages

This commit is contained in:
SDE
2024-02-09 18:01:11 +03:00
parent 713695cf7d
commit b87df02714
8 changed files with 36 additions and 22 deletions

View File

@@ -290,8 +290,6 @@ def get_chat_page_content_html(request, receiver_id=None):
from AuthApp.models import User
from django.utils import timezone
now = timezone.now()
msgs = []
try:
cur_receiver = User.objects.get(id=receiver_id)