Use base64 strings for incoming message cache instead of binary

This commit is contained in:
Scott Nonnenberg 2018-08-09 17:28:51 -07:00
parent 9eefc0c29b
commit 7983300f4a
7 changed files with 62 additions and 28 deletions

View file

@ -12,11 +12,14 @@
getAll() {
return textsecure.storage.protocol.getAllUnprocessed();
},
get(id) {
return textsecure.storage.protocol.getUnprocessedById(id);
},
add(data) {
return textsecure.storage.protocol.addUnprocessed(data);
},
update(id, updates) {
return textsecure.storage.protocol.updateUnprocessed(id, updates);
save(data) {
return textsecure.storage.protocol.saveUnprocessed(data);
},
remove(id) {
return textsecure.storage.protocol.removeUnprocessed(id);