core, ios: mark files to receive from NSE, receive marked files on chat start (#2218)

This commit is contained in:
spaced4ndy
2023-04-20 16:52:55 +04:00
committed by GitHub
parent 17bdd2a1d2
commit 4d700d113d
10 changed files with 152 additions and 22 deletions
+2 -1
View File
@@ -229,7 +229,8 @@ CREATE TABLE rcv_files(
file_descr_id INTEGER NULL
REFERENCES xftp_file_descriptions ON DELETE SET NULL,
agent_rcv_file_id BLOB NULL,
agent_rcv_file_deleted INTEGER DEFAULT 0 CHECK(agent_rcv_file_deleted NOT NULL)
agent_rcv_file_deleted INTEGER DEFAULT 0 CHECK(agent_rcv_file_deleted NOT NULL),
to_receive INTEGER
);
CREATE TABLE snd_file_chunks(
file_id INTEGER NOT NULL,