Commit Graph

290 Commits

Author SHA1 Message Date
ryanzhao 7295c14e17 WIP: make the attachment download work in NSE 2021-08-27 13:32:31 +10:00
ryanzhao d6d041a74f fix closed group threading issue 2021-08-24 14:58:27 +10:00
ryanzhao 7a354fe220 potentially fix the closed group not receiving messages issue 2021-08-20 10:01:25 +10:00
ryanzhao 1822c7df16 fix duplicated messages sent in closed groups 2021-08-18 12:09:05 +10:00
Niels Andriesse 45042a1acf Fix typos 2021-08-10 11:17:04 +10:00
ryanzhao 2e8e931551 minor refactor 2021-08-09 16:52:42 +10:00
ryanzhao 940e09c25b handle canceling push notification 2021-08-09 12:30:09 +10:00
Ryan Zhao 7e640fb6ac Don't show deleted message in home screen 2021-08-05 14:08:13 +10:00
Ryan Zhao 6e45aed71b Merge branch 'dev' of https://github.com/oxen-io/session-ios into unsend-message 2021-08-05 13:34:17 +10:00
Ryan Zhao eaab6ee22d deleted message UI in conversation screen 2021-08-05 13:34:07 +10:00
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
ryanzhao 00fd764042 delete the message on storage server after receiving an unsend request 2021-08-04 15:11:49 +10:00
ryanzhao 9953451767 add comment 2021-08-04 14:53:16 +10:00
ryanzhao 8d53a775d2 Revert "delete real message and sync message together"
This reverts commit cc17a952e0.
2021-08-04 14:48:32 +10:00
ryanzhao cc17a952e0 delete real message and sync message together 2021-08-04 11:49:21 +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
Ryan Zhao 80bf62df90 fix nested transaction crash on setting notification identifier 2021-08-03 10:42:09 +10:00
Ryan Zhao 885e9296d1 Merge branch 'dev' of https://github.com/oxen-io/session-ios into unsend-message 2021-08-03 10:26:30 +10:00
Niels Andriesse e8d8377a04 Fix threading bug 2021-08-03 09:58:50 +10:00
Ryan Zhao 08360273e6 save server hash for message receive jobs 2021-08-02 15:39:10 +10:00
Ryan Zhao c68350f3d8 store hash value for outgoing messages 2021-08-02 14:49:34 +10:00
Ryan Zhao e2a0578770 cancel local notifications for unsend requests 2021-08-02 14:03:46 +10:00
Ryan Zhao b827b9e1ba make it work for multi device 2021-08-02 10:32:47 +10:00
Ryan Zhao 94c1879263 fix unsend request receive handler 2021-07-30 17:04:56 +10:00
Ryan Zhao 6aa865e7b7 delete locally and send unsend request 2021-07-30 16:51:43 +10:00
Ryan Zhao 83252650b1 unsend request handler 2021-07-30 14:21:43 +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