Commit Graph

255 Commits

Author SHA1 Message Date
Mikunj
151e97c82e Clean 2019-12-09 11:50:22 +11:00
Mikunj
b44ff69d8d Fix banner display 2019-12-09 10:39:33 +11:00
Mikunj
97ffea040f Move session restore prompt from message level to conversation level. 2019-12-09 09:15:25 +11:00
Mikunj
0caeb3a109 Handle session restoration. 2019-12-06 11:35:10 +11:00
Mikunj
fd2dc678ea Show custom message on no session message.
Made a no session message an update message.
2019-12-05 15:40:55 +11:00
Mikunj
ba93fdd649 Only show one session reset prompt at a time 2019-12-05 13:18:33 +11:00
Mikunj
e285ede03d Ignore friend request messages before restoration, 2019-12-05 12:10:29 +11:00
Mikunj
a5bf5c0f5d Set profile picture upon joining a public chat. 2019-12-03 15:05:43 +11:00
Niels Andriesse
f8464a1462 Fix up UI 2019-12-02 15:03:12 +11:00
Mikunj
b4a81bf937 Update create table command because it might exist already. 2019-12-02 13:29:12 +11:00
Mikunj
280d866df3 Public chat avatar handling.
Fix note to self.
2019-11-28 15:26:02 +11:00
Mikunj
6e7b21e8b4 Multi-device profile avatar. 2019-11-28 10:51:27 +11:00
Mikunj
5038dec3d1 Fix up profile picture display. 2019-11-27 13:17:31 +11:00
Mikunj
06f75859fa Removed custom profile avatar url table since signal already has an existing one.
Clean
2019-11-27 13:17:31 +11:00
ryanzhao
5a4b619c9d try to store avatar url locally 2019-11-27 13:17:31 +11:00
Mikunj
c25e0fded9 Add timeout to blocking promises.
Don't prematurely store PreKeyBundle from a pairing authorisation.
Don't re-create ids needed for pre-key generation
2019-11-22 15:42:03 +11:00
Mikunj
b650ee6ebc Added QR code scanning. 2019-11-22 12:53:47 +11:00
Mikunj
27c8b45ae3 Show device unlink message on startup. 2019-11-22 10:43:22 +11:00
Mikunj
733ab06e70 Clear database on unpair. 2019-11-22 10:02:02 +11:00
Mikunj
3a79e1f215 Handle unpair request flag. 2019-11-21 12:43:33 +11:00
Mikunj
c66786e0f1 Allow users to edit device name. 2019-11-21 10:50:33 +11:00
Mikunj
b61b4c581d Add bottom sheet dialog 2019-11-21 10:32:26 +11:00
Mikunj
d96664cb6a Remove textbox in linking dialog. 2019-11-20 16:22:17 +11:00
Mikunj
28a04f13af Refactor.
Add text field to authorise dialog.
2019-11-20 14:55:42 +11:00
Mikunj
ba78fcb9b1 Move device linking logic into LinkedDeviceActivity. 2019-11-20 11:44:44 +11:00
Mikunj
0f5db5aa33 Hook up signal device linking view. 2019-11-20 11:20:45 +11:00
Niels Andriesse
8ccfa77ef6 Fix threading 2019-11-18 16:35:57 +11:00
Niels Andriesse
045e4be2f0 Partially undo threading changes 2019-11-18 15:10:40 +11:00
Niels Andriesse
5da4892d9d Ensure UI updates happen on the main thread 2019-11-18 13:19:25 +11:00
Niels Andriesse
638d693e11 Clean 2019-11-18 13:12:57 +11:00
Mikunj
8eedff81eb Async everything! 2019-11-18 11:55:16 +11:00
Mikunj
457faae5a5 Added public chat server profile name batch polling. 2019-11-18 11:33:18 +11:00
gmbnt
4f1beeaa88
Merge pull request #39 from loki-project/multi-device-stage-2
[Stage 2] Multi device
2019-11-15 16:25:56 +11:00
Niels Andriesse
30df89ea58 Fix critical issues 2019-11-15 16:24:58 +11:00
Mikunj
463aaf0fb8 Fix processing of outgoing attachment messages in public chats.
Before we were directly inserting messages into the database but that wasn't working because attachments never got downloaded. This fixes it so we forcefully go through signals pipeline via self sync messages.
2019-11-15 11:44:12 +11:00
Mikunj
848cab8677 Handle incoming messages from our other devices in public chats. 2019-11-15 09:58:13 +11:00
Mikunj
d1289ec7bd Refactoring. 2019-11-14 12:00:46 +11:00
Mikunj Varsani
a90b0e70f5 Fix conversation input. 2019-11-13 16:05:37 +11:00
Mikunj Varsani
41e0934dd4 Only update thread friend request status on message send if we haven't sent a previous request.
Always send self sync messages to our primary device.
Cache conversation input enabled so that subsequent calls don't cause it to flicker.
2019-11-13 12:28:17 +11:00
Mikunj Varsani
12639b491f Sync all contacts with only a specific device.
This may fix the issue where the sync message sending queue gets blocked because of sending full contact syncs to all devices.
2019-11-11 14:11:32 +11:00
Mikunj
aea686c856 Only handle friend requests for direct chats. 2019-11-08 10:38:17 +11:00
Mikunj
55ecd3cae4 Add a job for sending a background message.
Send a friend request background message to other linked devices upon accepting a friend request.
2019-11-08 10:20:11 +11:00
Mikunj
ddafcf4530 Fix device linking blocking UI 2019-11-06 16:08:34 +11:00
Mikunj
ce265f29fd Handle received contact sync message 2019-11-06 16:08:34 +11:00
Mikunj
6f2a6f7f94 Sync contact upon accepting friend request 2019-11-06 16:08:34 +11:00
Mikunj
7df3393e23 Sync contacts upon pairing a secondary device. 2019-11-06 16:08:34 +11:00
Mikunj
92580a0dd9 Fixed up contact sync sending to use the correct field in protobuf. 2019-11-06 16:08:34 +11:00
Mikunj
96fa96f5c1 Fix sync message sending. 2019-11-06 16:08:20 +11:00
Mikunj
ed6ca6a64a We should automatically become friends with a contact if we are friends with one of their other devices. 2019-11-06 13:40:55 +11:00
Mikunj
c223e087f6 Don't block thread when retrying. 2019-11-01 15:49:26 +11:00