Fix for issue where deleting an item offline would not immediately remove it from display, and would subsequently not resync the deleted item after connection was restored.
This commit is contained in:
@@ -136,7 +136,10 @@ class EncryptionHelper {
|
||||
|
||||
static decryptMultipleItems(items, keys, throws) {
|
||||
for (var item of items) {
|
||||
if(item.deleted == true) {
|
||||
|
||||
// 4/15/18: Adding item.content == null clause. We still want to decrypt deleted items incase
|
||||
// they were marked as dirty but not yet synced. Not yet sure why we had this requirement.
|
||||
if(item.deleted == true && item.content == null) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user