Commit Graph

267 Commits

Author SHA1 Message Date
Niels Andriesse e311d2878f Fix message status indicator bug 2021-08-05 10:47:15 +10:00
Niels Andriesse 50d17be43b Fix animation glitch 2021-08-05 10:11:20 +10:00
Niels Andriesse b8c4e6aa93 Avoid unnecessary conversation screen updates 2021-08-05 10:02:52 +10:00
Niels Andriesse 1b0a12d7c0 Don't unnecessarily unsubscribe from closed group PNs
We don't need to do this anymore as we now have the ability to ignore PNs in the notification service extension
2021-08-03 16:21:30 +10:00
Niels Andriesse 7f0b87a2b2 Avoid unnecessary conversation screen updates 2021-08-03 15:36:54 +10:00
Niels Andriesse e8d8377a04 Fix threading bug 2021-08-03 09:58:50 +10:00
Niels Andriesse 8f29010e89 Poll for closed group messages more frequently 2021-07-30 09:23:56 +10:00
Niels Andriesse 8a29469eb5 Handle incorrect clock setting 2021-07-23 13:42:13 +10:00
Niels Andriesse 6bf25e28f7 Debug 2021-07-23 09:00:28 +10:00
Niels Andriesse ca862096b4 Rename profilePictureEncryptionKey → profileEncryptionKey 2021-07-22 14:52:10 +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 1d1d63c979 Don't auto resubscribe to PNs for muted closed groups 2021-07-19 13:22:09 +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 aae11b1c28 Disable PNs for muted closed groups 2021-07-13 16:09:28 +10:00
Niels Andriesse 356dc0cc4f Clean up indentation 2021-07-07 15:09:09 +10:00
Brice-W 2f0fe36905 add expiration timer to configuration message 2021-06-21 14:21:34 +10:00
Niels Andriesse 7bb7edd3c0 Further cleanup 2021-06-11 11:11:16 +10:00
Niels Andriesse b090227a2d Fix potential crash & apply code convention 2021-06-11 11:01:08 +10:00
Brice-W 1f9cd92bce set expiration timer for new group members 2021-06-10 11:51:38 +10:00
nielsandriesse 1041f991fd Fix unnecessary map calls 2021-06-04 16:23:59 +10:00
Brice-W 49c1de8387 clean 2021-06-04 15:29:34 +10:00
Brice-W dbcf19529b fix 2021-06-04 14:01:23 +10:00
Brice-W 9e790986f6 fix closed group corner cases 2021-06-04 11:50:24 +10:00
nielsandriesse bf9d860214 Batch thread updates 2021-05-28 09:47:05 +10:00
nielsandriesse e72c6d4cbd Mark .noThread error as non-retryable 2021-05-28 09:09:56 +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 aa3a18fa7e Don't notify for closed group control messages
This addresses an issue where:

• someone would create a closed group
• on other peoples' devices this control message would be received through a background poll or a push notification
• the received message timestamps table would be updated
• processing wouldn't be finished (during a background poll or while handling a push notification the system can cut you off at any time)
• some of the added users don't see the new closed group because when they open the app and get the control message from their swarm it's considered a duplicate and isn't processed again
2021-05-24 08:57:31 +10:00
Niels Andriesse 3fda8daec9 Merge branch 'dev' into cleanup 2021-05-20 16:25:59 +10:00
nielsandriesse c36cf1a36d Hopefully fix closed group handling bug 2021-05-19 08:42:58 +10:00
nielsandriesse 73eeff3ea1 Debug 2021-05-12 10:40:42 +10:00
nielsandriesse 17688a66e6 Make closed group polling variable rate 2021-05-12 10:33:29 +10:00
Niels Andriesse 16a01ccc00
Merge pull request #405 from oxen-io/open-group-invitations-2
Open Group Invitations
2021-05-07 15:47:55 +10:00
Ryan ZHAO 539b13d189 fix inconsistent voice message durations 2021-05-07 15:22:48 +10:00
Niels Andriesse bd04775cbf Implement open group invitations UI 2021-05-07 13:10:21 +10:00
Niels Andriesse 7e60d3c218 Merge branch 'dev' into cleanup 2021-05-06 09:24:42 +10:00
Niels Andriesse ad801d4f33 Fix threading 2021-05-06 09:23:47 +10:00
nielsandriesse 06f795169b Merge branch 'dev' into cleanup 2021-05-05 14:10:19 +10:00
nielsandriesse 964cb8b326 Fix new deletion method 2021-05-05 13:49:24 +10:00
nielsandriesse 47daf16d5c Merge branch 'dev' into deletion-handling 2021-05-05 13:30:59 +10:00
nielsandriesse 0c864454aa Remove duplicate message server ID tracking 2021-05-05 13:30:37 +10:00
nielsandriesse a098ba7125 Remove unused code 2021-05-05 12:13:48 +10:00
nielsandriesse 955e3abdad Clean up group update handling 2021-05-05 10:38:09 +10:00
nielsandriesse 49f3b9f7db Rename contactIdentifier → contactSessionID 2021-05-05 10:00:39 +10:00
nielsandriesse 21acdfc835 Clean up thread model 2021-05-05 09:53:18 +10:00
Niels Andriesse d742fc1548 Delete V1 OGS & file server 2021-05-04 15:46:48 +10:00
Niels Andriesse fee6861847 Minor refactoring 2021-05-03 13:15:47 +10:00
Niels Andriesse d516aa7ecb Fix profile updating bug 2021-05-03 09:14:42 +10:00
Niels Andriesse c747acfc04 Fix compact poll deletion handling 2021-04-29 11:36:29 +10:00
Niels Andriesse b3f9824b91 Add documentation 2021-04-26 09:54:06 +10:00