Improve message download performance
This commit is contained in:
parent
957f6f6474
commit
0c09f9620f
32 changed files with 906 additions and 633 deletions
|
@ -21,6 +21,9 @@
|
|||
add(data) {
|
||||
return textsecure.storage.protocol.addUnprocessed(data);
|
||||
},
|
||||
batchAdd(array) {
|
||||
return textsecure.storage.protocol.addMultipleUnprocessed(array);
|
||||
},
|
||||
updateAttempts(id, attempts) {
|
||||
return textsecure.storage.protocol.updateUnprocessedAttempts(
|
||||
id,
|
||||
|
@ -30,8 +33,11 @@
|
|||
addDecryptedData(id, data) {
|
||||
return textsecure.storage.protocol.updateUnprocessedWithData(id, data);
|
||||
},
|
||||
remove(id) {
|
||||
return textsecure.storage.protocol.removeUnprocessed(id);
|
||||
addDecryptedDataToList(array) {
|
||||
return textsecure.storage.protocol.updateUnprocessedsWithData(array);
|
||||
},
|
||||
remove(idOrArray) {
|
||||
return textsecure.storage.protocol.removeUnprocessed(idOrArray);
|
||||
},
|
||||
removeAll() {
|
||||
return textsecure.storage.protocol.removeAllUnprocessed();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue