Remove JSON column and Backbone Model for unprocessed

This commit is contained in:
Scott Nonnenberg 2019-02-04 17:23:50 -08:00
parent 9c540ab977
commit 041fe4be05
6 changed files with 164 additions and 56 deletions

View file

@ -21,8 +21,14 @@
add(data) {
return textsecure.storage.protocol.addUnprocessed(data);
},
save(data) {
return textsecure.storage.protocol.saveUnprocessed(data);
updateAttempts(id, attempts) {
return textsecure.storage.protocol.updateUnprocessedAttempts(
id,
attempts
);
},
addDecryptedData(id, data) {
return textsecure.storage.protocol.updateUnprocessedWithData(id, data);
},
remove(id) {
return textsecure.storage.protocol.removeUnprocessed(id);