Merge (un)encrypted storage layers
This commit is contained in:
parent
454b4726bd
commit
00cb420d37
12 changed files with 102 additions and 143 deletions
|
@ -96,8 +96,8 @@
|
|||
type : 'incoming'
|
||||
});
|
||||
|
||||
var newUnreadCount = textsecure.storage.getUnencrypted("unreadCount", 0) + 1;
|
||||
textsecure.storage.putUnencrypted("unreadCount", newUnreadCount);
|
||||
var newUnreadCount = textsecure.storage.get("unreadCount", 0) + 1;
|
||||
textsecure.storage.put("unreadCount", newUnreadCount);
|
||||
extension.navigator.setBadgeText(newUnreadCount);
|
||||
|
||||
conversation.save().then(function() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue