Commit graph

21 commits

Author SHA1 Message Date
Morgan Pretty cf66edb723 Further work on SessionMessagingKit migrations
Added migrations for contacts and started working through thread migration (have contact and closed group threads migrating)
Deprecated usage of ECKeyPair in the migrations (want to be able to remove Curve25519Kit in the future)
2022-04-06 15:43:26 +10:00
Morgan Pretty 1492232224 Made some optimisations to open group deletion handling
Added a new OpenGroupServerIdLookup to make it easier to get a database id via an open group server id
Added a migration to generate the above data
Updated the handleCompactBody method to stop early if there are no messages to delete (would previously enumerate all interactions regardless)
Updated the handleCompactBody to fetch the mapping for the deleted message so we can avoid enumerating all interactions
2022-03-21 16:53:12 +11:00
Ryan Zhao 8652268557 add logs & fix PN 2022-03-21 13:55:51 +11:00
Ryan Zhao 7a677a1800 move pollers to one working queue to avoid race condition 2022-02-24 16:47:08 +11:00
ryanzhao b2ab984586 refactor on timer and polling threading 2022-02-22 14:01:48 +11:00
Ryan Zhao 16c9b7793a move pollers to background threads 2022-02-21 13:27:44 +11:00
Ryan Zhao 6c64d580b8 move open group polling to background thread 2022-02-17 16:38:36 +11:00
ryanzhao da335a8401 clean 2021-08-23 11:10:45 +10:00
Niels Andriesse 11df899db3 Don't use jobs for open group polling
It's not necessary because we can always get the messages again from the server, and it helps with performance
2021-07-15 14:16:33 +10:00
Niels Andriesse 601062c9ef Fix timeSinceLastOpen usage 2021-05-24 16:39:18 +10:00
Brice-W 51ba97827d open group polling limit implementation 2021-05-24 16:00:42 +10:00
Niels Andriesse ad801d4f33 Fix threading 2021-05-06 09:23:47 +10:00
nielsandriesse 964cb8b326 Fix new deletion method 2021-05-05 13:49:24 +10:00
Niels Andriesse fee6861847 Minor refactoring 2021-05-03 13:15:47 +10:00
Niels Andriesse c747acfc04 Fix compact poll deletion handling 2021-04-29 11:36:29 +10:00
Niels Andriesse 5021357661 Fix timestamp issue 2021-04-23 14:50:56 +10:00
Niels Andriesse 5a242ce4e8 Debug 2021-04-20 10:26:52 +10:00
Niels Andriesse 4774123ad4 Update V2 open group poller for compact polling 2021-04-19 14:44:27 +10:00
Niels Andriesse 516f815521 Debug 2021-03-26 10:39:51 +11:00
nielsandriesse e5764264b3 Debug 2021-03-24 14:06:48 +11:00
nielsandriesse 4c9728b4fe Update other APIs for V2 open groups 2021-03-24 12:37:33 +11:00