You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-05 23:10:41 +03:00
Fix bug with localStorage loading
This commit is contained in:
@@ -56,7 +56,7 @@ export default class DecryptionFailureTracker {
|
||||
}
|
||||
|
||||
loadTrackedEventHashMap() {
|
||||
this.trackedEventHashMap = JSON.parse(localStorage.getItem('mx-decryption-failure-event-id-hashes'));
|
||||
this.trackedEventHashMap = JSON.parse(localStorage.getItem('mx-decryption-failure-event-id-hashes')) || {};
|
||||
}
|
||||
|
||||
saveTrackedEventHashMap() {
|
||||
|
||||
Reference in New Issue
Block a user