mirror of
https://github.com/vector-im/element-web.git
synced 2025-10-03 03:21:49 +02:00
Fix bug with localStorage loading
This commit is contained in:
parent
98ed93ee5b
commit
edfc9a0841
@ -56,7 +56,7 @@ export default class DecryptionFailureTracker {
|
|||||||
}
|
}
|
||||||
|
|
||||||
loadTrackedEventHashMap() {
|
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() {
|
saveTrackedEventHashMap() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user