Removes the hack to reduce memory usage by deleting the .content when saving the event to cache.
This commit is contained in:
@@ -1777,7 +1777,7 @@ object LocalCache : ILocalCache {
|
||||
// Already processed this event.
|
||||
if (note.event != null) return
|
||||
|
||||
note.loadEvent(event.copyNoContent(), author, emptyList())
|
||||
note.loadEvent(event, author, emptyList())
|
||||
|
||||
refreshObservers(note)
|
||||
}
|
||||
@@ -1797,7 +1797,7 @@ object LocalCache : ILocalCache {
|
||||
// Already processed this event.
|
||||
if (note.event != null) return
|
||||
|
||||
note.loadEvent(event.copyNoContent(), author, emptyList())
|
||||
note.loadEvent(event, author, emptyList())
|
||||
|
||||
refreshObservers(note)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user