mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-22 01:18:19 +01:00
Make debug log persistent
Save log entries in indexedDB rather than just in memory. Reload them whenever the background page is refreshed. // FREEBIE
This commit is contained in:
@@ -100,6 +100,12 @@
|
||||
});
|
||||
storage.fetch();
|
||||
}
|
||||
},
|
||||
{
|
||||
version: "7.0",
|
||||
migrate: function(transaction, next) {
|
||||
transaction.db.createObjectStore("debug");
|
||||
}
|
||||
}
|
||||
];
|
||||
}());
|
||||
|
||||
Reference in New Issue
Block a user