mirror of
https://github.com/oxen-io/session-android.git
synced 2025-01-01 04:37:44 +00:00
62c42a3513
We never properly registered the ExpirationListener, meaning we were relying on the wait-notify loop of ExpirationManager to delete things. This normally works, but fails when your phone goes to sleep. So I properly registered the receiver, and then added a failsafe to re-run the ExpirationManager if we're about to render an expired message. Fixes #7906