mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 04:09:49 +00:00
Merge (un)encrypted storage layers
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user