whisperfish / presage

A high-level Rust library to help write clients for the Signal Messenger.
GNU Affero General Public License v3.0
108 stars 20 forks source link

Allow loading a registered store offline #262

Open Schmiddiii opened 1 month ago

Schmiddiii commented 1 month ago

https://github.com/whisperfish/presage/commit/b24845a5cb885fbab495b83ff4394427a4616702#diff-99551c60a775f81baa1c0f5ba314ab329a8b187a979ece33826b3f98a02c3fa3R160 does not allow loading a registered store while being offline anymore. This used to work before.

See also downstream issue https://gitlab.com/schmiddi-on-mobile/flare/-/issues/218.

gferon commented 1 month ago

This is indeed an unfortunate side-effect. I think it's time I add in presage a small scheduled job system like every other Signal clients. I'm sure there are crates that provide a simple API for persistent scheduled jobs (that can fail in the background).