Commit Graph

189 Commits

Author SHA1 Message Date
Adhiraj Singh
87c1a04503 feat: add more sanity checks to chat patch 2022-04-28 15:49:02 +05:30
Adhiraj Singh
dba6d2e0cb fix: do not throw error on conditions not matching in lastMessage check 2022-04-28 15:24:10 +05:30
Adhiraj Singh
47ab32f314 chore: update noise_version to 6 2022-04-25 23:15:22 +05:30
Adhiraj Singh
fd9daf8ad3 refactor: remove redundant stream:error handling 2022-04-25 13:27:25 +05:30
Adhiraj Singh
211a899ed4 feat: handle stream:errors more gracefully 2022-04-25 09:11:03 +05:30
Adhiraj Singh
3c278b35f0 fix: add legacy constants for decoding 2022-04-24 16:49:13 +05:30
Adhiraj Singh
a7e9dcf512 chore: revert osVersion to match wa web 2022-04-24 12:24:37 +05:30
Adhiraj Singh
3bd231b37a Merge pull request #1530 from adiwajshing/invalid-qr-patch
Invalid QR Patch
2022-04-24 09:56:28 +05:30
LyFE
2e18d83f03 fix groupParticipantUpdate (#1527) 2022-04-24 00:55:08 +05:30
Adhiraj Singh
40abd71d2e fix: curve verification return boolean 2022-04-23 17:46:59 +05:30
Adhiraj Singh
5e41d3d284 chore: use 16 bit integer for tag 2022-04-23 12:45:27 +05:30
Adhiraj Singh
b3937b8852 chore: add logging to NS 2022-04-23 11:55:31 +05:30
Adhiraj Singh
39828d1e57 Merge branch 'master' into invalid-qr-patch 2022-04-22 20:05:26 +05:30
Adhiraj Singh
68a6f34cde feat: add timeoutMs to link preview 2022-04-22 20:05:17 +05:30
Adhiraj Singh
207f279772 chore: remove curve25519-js dep + use signal curve functions 2022-04-22 19:06:27 +05:30
Adhiraj Singh
44a6ac3534 Merge branch 'master' into invalid-qr-patch 2022-04-22 18:20:17 +05:30
Adhiraj Singh
a98484c38b refactor: split "downloadContentFromMessage" to "downloadEncryptedContent"" 2022-04-21 00:52:17 +05:30
Adhiraj Singh
d5e46b784b fix: only generate urlInfo if not provided 2022-04-20 20:31:49 +05:30
Adhiraj Singh
5655961d12 feat: allow passing of url info in text message 2022-04-20 20:30:11 +05:30
Adhiraj Singh
c138b6a82a Merge branch 'master' into invalid-qr-patch 2022-04-19 22:01:34 +05:30
Adhiraj Singh
f421f5d387 feat: customize link preview image width 2022-04-19 19:12:24 +05:30
Adhiraj Singh
872536fa5b feat: link previews on MD 2022-04-19 19:00:32 +05:30
Adhiraj Singh
ffe38b657a fix: signal curve key update 2022-04-18 12:45:06 +05:30
Adhiraj Singh
15f66b802b refactor: templateMessage cleaner code 2022-04-18 12:41:38 +05:30
Adhiraj Singh
2720879545 chore: update "generateSignalPubKey" function 2022-04-18 08:23:32 +05:30
Adhiraj Singh
5200bf6477 feat: use futoin-hkdf instead of custom function 2022-04-18 08:22:43 +05:30
Adhiraj Singh
a4ae3526de fix: use new registrationId function 2022-04-16 20:53:42 +05:30
Adhiraj Singh
fe9a6d07ae fix: browser version 2022-04-14 21:29:07 +05:30
Adhiraj Singh
44d1acb05f Merge branch 'master' into invalid-qr-patch 2022-04-13 19:04:32 +05:30
Adhiraj Singh
b4fd010b36 refactor: use modified legacy bin XML parser instead of "WABinary" 2022-04-13 16:23:28 +05:30
Adhiraj Singh
0cf17fb392 refactor: use Buffer instead of Binary 2022-04-13 13:21:15 +05:30
Adhiraj Singh
7db8796fed feat: include platform in creds 2022-04-13 12:49:46 +05:30
Adhiraj Singh
02265fd7f9 refactor: upload more pre-keys + use pure function 2022-04-13 00:02:10 +05:30
Adhiraj Singh
08fa212db8 chore: update default versions 2022-04-12 19:57:49 +05:30
Adhiraj Singh
5f3db192dc fix: different passive settings for reg + login 2022-04-12 19:57:40 +05:30
Adhiraj Singh
7fe4e58a11 refactor: remove useless "encodeInt" function 2022-04-12 19:22:16 +05:30
Adhiraj Singh
37178547ba fix: better registration ID 2022-04-12 19:02:30 +05:30
Adhiraj Singh
75c637cf6c feat: remove need for "serverHasPreKeys" 2022-04-12 18:47:18 +05:30
Adhiraj Singh
2cc5cc2dd4 Revert "feat: resync main app state on first open"
This reverts commit 060c838707.
2022-04-12 17:08:10 +05:30
Adhiraj Singh
f4da9af5d3 chore: use only numbers in message tag 2022-04-12 17:04:24 +05:30
Adhiraj Singh
cf37910297 chore: minor updates to user agent 2022-04-12 16:30:20 +05:30
Adhiraj Singh
f1b64c3c35 feat: send presence update when name changed 2022-04-08 23:29:48 +05:30
Adhiraj Singh
060c838707 feat: resync main app state on first open 2022-04-08 23:29:36 +05:30
Adhiraj Singh
850611e500 fix: typo in ciphertext check 2022-04-07 15:31:35 +05:30
Adhiraj Singh
39eb0d1427 docs: add logs 2022-04-07 11:45:09 +05:30
Adhiraj Singh
0d94315776 feat: handle unarchiveChats setting 2022-04-07 11:29:57 +05:30
Adhiraj Singh
ebf4aa6772 fix: normalize participant in last message 2022-04-06 20:43:09 +05:30
Muhamad Ristiyanto
e6e8e24ea9 fix browser icon and typo (#1450) 2022-04-06 13:36:15 +05:30
Adhiraj Singh
5aa64f2c39 feat: add readMessages function 2022-04-06 09:30:32 +05:30
Adhiraj Singh
59f834ca39 fix: handle receipts more accurately
1. only send timestamp with read receipts
2. use unix timestamp in seconds instead of millis
3. use "sender" receipts for own messages
2022-04-03 11:27:13 +05:30