Remove JSON column and Backbone Model for unprocessed
This commit is contained in:
parent
9c540ab977
commit
041fe4be05
6 changed files with 164 additions and 56 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue