mirror of
https://gitlab.com/schmiddi-on-mobile/flare.git
synced 2026-10-29 06:57:46 -04:00
The reason for unlinking being broken is twofold: - Upstream presage incorrectly implemented clearing the store, or in case of clearing messages and profiles did not implement clearing it at all. This is fixed in <https://github.com/whisperfish/presage/pull/340>. - The store implementation is now asynchronous, which means that it can happen that the window closes (and therefore also the application finishes) before clearing the store actually finished executing. This was fixed by moving the window closing into the asynchronous part of the signal handler. I furthermore swapped out `clear_messages`, `clear_contacts` and `clear_groups` out by a single `clear_contents` call that does all the things at once in presage. Furthermore, due to an upstream fix <https://github.com/whisperfish/presage/pull/345>, the store is now actually encrypted, instead of having an unencrypted sqlite store.