Implement photo-related enhancements and chat updates

This commit is contained in:
dev
2026-10-28 09:01:49 +03:00
parent 12034812ec
commit 617ed60e65
10 changed files with 567 additions and 102 deletions
+1
View File
@@ -512,6 +512,7 @@ function normalizeRestoreData(data) {
const chat_threads = (data.chat_threads || []).map(x => ({
id: reqInt(x.id),
tutor_id: reqInt(x.tutor_id),
peer_id: optInt(x.peer_id),
last_message_at: optTs(x.last_message_at),
last_message_text: optStr(x.last_message_text, 300),
tutor_unread: optInt(x.tutor_unread, 0, 2147483647) ?? 0,