ryanzhao
dac3f10dd1
tweaks on closed group polling logic
2022-05-06 10:37:53 +10:00
ryanzhao
782d51c1d6
minor change on hardfork version check
2022-05-04 16:43:22 +10:00
ryanzhao
372e87e70f
minor fix
2022-05-04 16:36:15 +10:00
ryanzhao
fb65173b06
poll closed group messages in both default namespace and closed group namespace
2022-05-04 14:28:29 +10:00
ryanzhao
e540497724
update last hash persistence
2022-05-04 11:47:09 +10:00
Ryan Zhao
034f2ecc22
send messages with authentication
2022-05-02 13:51:50 +10:00
Ryan Zhao
0b0f0a3787
retrieve messages authenticated for 1-1 chats
2022-05-02 11:35:48 +10:00
Ryan Zhao
43ca54c0a0
refactor to use Atomic wrapper
2022-04-04 14:40:24 +10:00
RyanZhao
7cd0079b37
Merge pull request #599 from mpretty-cyro/fix/update-last-message-hash-after-registering-jobs
...
Fix - Update last message hash after registering jobs
2022-03-28 14:06:03 +11:00
Morgan Pretty
b90904ebbd
Updated the code to only update the last message hash once the MessageReceiveJobs have been created
2022-03-22 14:09:47 +11: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
cd97b9c3e8
minor fix on poller threading
2022-02-23 12:47:44 +11:00
ryanzhao
b2ab984586
refactor on timer and polling threading
2022-02-22 14:01:48 +11:00
Ryan Zhao
d21c5329e3
further improvements to move poller into background threads
2022-02-21 17:01:33 +11:00
Ryan Zhao
16c9b7793a
move pollers to background threads
2022-02-21 13:27:44 +11:00
Ryan Zhao
e8e120666b
move message poller to back ground thread
2022-02-17 16:38:52 +11:00
Ryan Zhao
6c64d580b8
move open group polling to background thread
2022-02-17 16:38:36 +11:00
Ryan Zhao
ce83de5c46
fix crash of dictionary.subscript.getter for closed groups
2022-01-31 14:09:56 +11:00
RyanZhao
fbd30ca8e5
Merge pull request #500 from RyanRory/improvements
...
Improvements
2021-09-02 09:02:24 +10:00
ryanzhao
d6d041a74f
fix closed group threading issue
2021-08-24 14:58:27 +10:00
ryanzhao
da335a8401
clean
2021-08-23 11:10:45 +10:00
ryanzhao
7a354fe220
potentially fix the closed group not receiving messages issue
2021-08-20 10:01:25 +10:00
Ryan Zhao
08360273e6
save server hash for message receive jobs
2021-08-02 15:39:10 +10:00
Niels Andriesse
8f29010e89
Poll for closed group messages more frequently
2021-07-30 09:23:56 +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
3fda8daec9
Merge branch 'dev' into cleanup
2021-05-20 16:25:59 +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
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
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
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
Niels Andriesse
82690259b2
Clean protobuf
2021-03-02 13:12:24 +11:00
Niels Andriesse
dd0baf0d97
Unify contacts APIs
2021-03-01 09:36:18 +11:00
nielsandriesse
268971af9a
Update protobuf
2021-02-24 13:20:50 +11:00
nielsandriesse
5d74bf1cca
Fix promise deallocations
2021-02-24 11:12:57 +11:00