mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-05-17 21:30:29 +01:00
58d2f71e09
Expiring messages received before 0.31.0 may not have an expires_at time populated. Loading these messages once will update their expires_at if it wasn't already set. To avoid loading too many messages into memory, add them individually, and remove them from the collection as soon as they are added, allowing them to be garbage collected immediately. // FREEBIE