95 Commits

Author SHA1 Message Date
nielsandriesse
06f547dc88 Implement the new protocol 2020-07-15 17:04:23 +10:00
nielsandriesse
455471b20e Remove the concept of friend requests 2020-07-15 14:26:20 +10:00
nielsandriesse
21554441f3 Make things compile 2020-07-15 12:24:43 +10:00
nielsandriesse
4799c13816 Clean up ahead of protocol changes 2020-07-08 17:05:26 +10:00
ryanzhao
2a88de3f61 move old message notifier to optimized message notifier 2020-06-26 16:18:19 +10:00
nielsandriesse
06883cc3ef Clean 2020-05-22 09:53:04 +10:00
nielsandriesse
ceaee33d28 Fix self syncing 2020-05-21 14:29:51 +10:00
nielsandriesse
d4f6178700 Clean 2020-05-15 15:44:45 +10:00
nielsandriesse
819f414446 Clean & debug 2020-05-13 09:07:51 +10:00
nielsandriesse
03f2c76344 Refactor PushMediaSendJob 2020-05-12 14:57:48 +10:00
nielsandriesse
361083f790 Refactor PushTextSendJob 2020-05-12 14:47:40 +10:00
nielsandriesse
32ae74c442 Re-order files 2020-05-12 11:46:11 +10:00
nielsandriesse
410bb9df43 Update for core changes 2020-05-11 08:43:54 +10:00
nielsandriesse
a6bfd14285 Update for core changes 2020-04-09 13:38:15 +10:00
Mikunj Varsani
e484a95fcb Remove DirectoryRefresh.
This was causing crashes on some devices and it's used for accessing contacts on a device which we don't need.
2020-03-13 09:46:28 +11:00
Niels Andriesse
a272677fba Clean 2020-03-05 16:22:45 +11:00
Niels Andriesse
8c6b60aa08 Clean & handle media message errors 2020-03-05 16:14:14 +11:00
Niels Andriesse
652201958a Propagate Loki API related errors 2020-03-05 14:07:42 +11:00
Niels Andriesse
526e82a9e3 Clean up naming & indentation 2020-02-16 09:30:05 +11:00
Niels Andriesse
705b3dc625 Refactor 2020-02-12 13:27:28 +11:00
Niels Andriesse
b5792a81aa Update for core changes 2020-02-11 09:38:05 +11:00
Mikunj
55ea9869a8 Hook up http cache to LokiDotNetAPI. 2019-11-15 09:33:30 +11:00
Mikunj
789aa244b5 Use promises instead of blocking the thread. 2019-11-01 14:29:43 +11:00
Mikunj
7ff7c36e27 Cleanup code. 2019-10-30 09:59:11 +11:00
Mikunj
3298d665e9 Fix note to self message syncing.
Don't send messages if we're sending to ourselves, instead we just send a regular sync message.
2019-10-29 14:29:09 +11:00
Mikunj
efad14fcdc Message syncing. 2019-10-25 14:08:30 +11:00
Niels Andriesse
a44c3fcd57 Clean 2019-10-08 14:10:16 +11:00
Niels Andriesse
79ec4553aa Clean 2019-10-07 16:53:26 +11:00
Mikunj
0bfa3c33c7 Multi-device sending media message 2019-10-07 10:14:38 +11:00
Mikunj
fb3967db55 Multi-device sending text messages. 2019-10-04 16:29:51 +10:00
Mikunj
3dba87198a Fix messages infinitely sending.
This was because signal infinitely tries to send message on network errors. Since we already have retrying built into the loki api we just disable this behaviour and set a cap of 3 on PushSendJobs incase.
2019-09-13 11:56:36 +10:00
Niels Andriesse
1822e87f7c Merge Signal 4.41.0 2019-08-07 16:48:54 +10:00
Niels Andriesse
06e8d20da4 Refactor 2019-07-22 14:25:59 +10:00
Mikunj
e626e09a45 Send PreKeyBundle with an EndSession message. 2019-07-22 08:30:28 +10:00
Niels Andriesse
daa1248e6c Debug session handling 2019-07-02 11:47:28 +10:00
Niels Andriesse
dd67e59807 Fix pre key usage 2019-06-26 14:31:38 +10:00
Niels Andriesse
169a7e609e Propagate message ID 2019-06-24 16:00:15 +10:00
Niels Andriesse
a1b6eaf3f5 Refactor 2019-06-21 10:39:05 +10:00
Niels Andriesse
69ecb19654 Update for core changes 2019-06-11 16:27:00 +10:00
Niels Andriesse
021bf1b33c Clean 2019-06-11 14:41:04 +10:00
Niels Andriesse
c8cc22e8fe WIP 2019-06-07 15:21:25 +10:00
Niels Andriesse
858b34306b Share actual public key 2019-06-06 10:04:43 +10:00
Mikunj
89d5c4d0f1 Generate PreKeyBundle if we're sending a friend request. 2019-06-06 09:48:02 +10:00
Mikunj
7d33a9cc8f Always send a friend request if we're not friends.
Pass down isFriendRequest to message sender.
2019-06-05 15:53:10 +10:00
Alan Evans
9445555d66
Code analysis - address @NotNull/@Nullable issues. 2019-05-22 13:51:56 -03:00
Greyson Parrelli
4a3c173adb Migrated to new JobManager. 2019-04-15 10:56:26 -04:00
Greyson Parrelli
c2a86fcc74 Sync self-sends to desktop.
Updated UI to show self-conversations as "Note to Self".
2019-02-14 20:19:07 -08:00
Greyson Parrelli
bfdad2f47c Updated logging. 2018-12-06 12:43:45 -08:00
Greyson Parrelli
81055e61a6 Update WorkManager to 1.0.0-alpha11. 2018-11-27 12:35:41 -08:00
Greyson Parrelli
36b24d0a20 Rotate sender cert at send time if it's expired. 2018-11-26 07:52:59 -08:00