Niels Andriesse
621ff9c6e3
Remove Signal request
2020-02-04 09:53:10 +11:00
Niels Andriesse
1e788b337f
Clean
2020-02-01 07:58:32 +11:00
Mikunj
8aa46aebec
Merge branch 'dev' into sealed-sender
2020-01-31 14:32:30 +11:00
Niels Andriesse
d7f1b86615
Remove legacy code
2020-01-31 12:50:25 +11:00
Mikunj
5fa6e5a75c
Enable sealed sender by default
2020-01-30 10:07:29 +11:00
Mikunj
62d391085b
Stop relying on SignalServiceEnvelope and instead use SignalServiceContent to determine message sender and friend request
2020-01-30 10:07:29 +11:00
Mikunj
01f5ff7c86
Fix up build gradle.
2020-01-30 10:07:29 +11:00
Niels Andriesse
2ea009b05b
Clean
2020-01-28 10:52:06 +11:00
Niels Andriesse
e3c54c21d1
Merge branch 'dev' into session-restore
2020-01-28 10:36:46 +11:00
Niels Andriesse
b5cca49b54
Background poll for group messages
2020-01-22 11:57:16 +11:00
Niels Andriesse
5891f19996
Fix push notification bug
2020-01-21 10:10:36 +11:00
Mikunj
97cde203ca
minor fix
2019-12-11 15:14:29 +11:00
Mikunj
3d574be931
Clean.
...
Removed recipient cache as signal already had that.
Removed message cache as it messes with the ui (public chat conversations pop in with all the messages)
2019-12-09 13:52:21 +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
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
5e5309d07e
Trigger session reset if we got a new friend request from one of our friends.
2019-12-04 12:44:34 +11:00
Niels Andriesse
5a8f0dda9d
Merge branch 'profile-avatar-setting' of github.com:loki-project/loki-messenger-android into profile-avatar-setting
2019-12-02 15:03:20 +11:00
Niels Andriesse
f8464a1462
Fix up UI
2019-12-02 15:03:12 +11:00
Mikunj
00856857d7
Fix avatar downloads on public chats.
2019-12-02 15:02:31 +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
a852b019aa
Enable profile sharing upon becoming friends with a contact.
2019-11-27 15:25:53 +11:00
Mikunj
ee00241515
Rotate profile key on every new upload.
...
Only fetch profile if avatar if profile key changed.
2019-11-27 13:17:31 +11:00
Mikunj
7b842d2c1c
Added profile downloading.
2019-11-27 13:17:31 +11:00
Mikunj
826142a07b
Move loki db writes to background so that decrypt thread doesn't get blocked.
2019-11-27 12:47:53 +11:00
Mikunj
050849d302
Wrapped envelope handing code inside a try-catch.
2019-11-22 15:53:46 +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
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
dc40ff0548
Only update display name from received message if the user is not one of our devices.
2019-11-20 11:59:18 +11:00
Mikunj Varsani
291fb7f7ad
Fix display name not being set correctly once we pair with a device.
2019-11-19 09:03:32 +11:00
Niels Andriesse
cfe321b248
Merge branch 'dev' of github.com:loki-project/loki-messenger-android into dev
2019-11-18 11:31:47 +11:00
Niels Andriesse
573aabdd52
Fix copy
2019-11-18 11:31:19 +11:00
Mikunj
d0a828985a
Fix placeholder messages showing in the wrong conversation.
2019-11-18 10:03:59 +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
55ea9869a8
Hook up http cache to LokiDotNetAPI.
2019-11-15 09:33:30 +11:00
Mikunj
d1289ec7bd
Refactoring.
2019-11-14 12:00:46 +11:00
Mikunj
44ccc66ec2
Fix multi-device media messages.
...
This fixes the issue of the same attachments being uploaded multiple times per linked device. Now we only upload the attachments once and then we send the media message.
2019-11-14 10:44:55 +11:00
Mikunj Varsani
9c243eed75
Correctly redirect typing messages and receipts.
...
Send an accept message back after becoming friends with a contact during contact sync.
2019-11-13 14:53:42 +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
5c1ec4c06d
Fix contact sync caused decryption lock to never release.
...
Fix message
2019-11-13 11:32:33 +11:00
Mikunj
7c4e7f261d
Fix contact sync message parsing in pairing authorisation.
2019-11-12 16:30:28 +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
9541588383
Fix up syncing all contacts.
...
We were looking up contact from the phone book which we had no access to.
2019-11-06 16:08:34 +11:00