Implement photo-related enhancements and chat updates
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user