Commit graph

16 commits

Author SHA1 Message Date
Morgan Pretty 212c5e87aa Re-added the transaction requirement when generating the current config message 2022-03-24 15:34:46 +11:00
Morgan Pretty 29c53223e0 More tweaks to fix crash
Wrapped the force sync calls within their own Storage.write blocks to ensure they have the latest data and aren't accessing a transaction completed in a different thread
Reverted a number of the unneeded changes
2022-03-24 15:25:47 +11:00
Morgan Pretty 1214005c59 Updated the cachedEncodedPublicKey to be Atomic
Added the Atomic wrapper for thread safe variables
2022-03-24 14:42:25 +11:00
Morgan Pretty f8dfbd4244 Reverting change and fixing a force-cast crash 2022-03-24 14:23:47 +11:00
Morgan Pretty 6205e72eab Change to make the 'getUser(using:)' method more consistent 2022-03-24 14:16:38 +11:00
Morgan Pretty 7aa1221987 Tweaks to the ConfigurationMessage generation logic
Removed force unwraps
Updated the closed group storage methods to take a transaction parameter
2022-03-24 14:13:35 +11:00
ryanzhao e91469fe0e fix nested transaction crash 2021-09-30 09:30:30 +10:00
Niels Andriesse 519ffa4405 Fully switch to the new contact API
This should improve performance significantly as it avoids many unnecessary sync transactions. It also makes the code more readable.
2021-07-22 14:41:27 +10:00
Niels Andriesse 76e5515610 Quick fix missing username bug 2021-03-05 13:06:35 +11:00
Niels Andriesse dd0baf0d97 Unify contacts APIs 2021-03-01 09:36:18 +11:00
Niels Andriesse 2a4977d269 Implement Session protocol 2020-12-14 09:49:02 +11:00
Niels Andriesse efe8f1c8bb Clean 2020-12-07 16:00:21 +11:00
nielsandriesse c59fe05f8e Cancel message send job(s) if associated message/thread is deleted 2020-11-27 10:08:46 +11:00
Niels Andriesse 341782f255 Fix profile handling 2020-11-26 15:16:35 +11:00
Niels Andriesse c8e63019ab Debug 2020-11-26 12:56:08 +11:00
nielsandriesse 5dfd4b1965 Restructure 2020-11-25 16:15:16 +11:00
Renamed from SignalUtilitiesKit/Database/Storage/Storage+Shared.swift (Browse further)