Commit Graph

225 Commits

Author SHA1 Message Date
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
Adhiraj Singh
334f85f8c5 feat: handle "peer_msg" receipts 2022-04-02 15:45:09 +05:30
Adhiraj Singh
8663598292 chore: log proto objects to prevent buffer arrays being printed 2022-04-02 15:44:51 +05:30
Adhiraj Singh
0a331ceab3 fix: toNumber 2022-03-29 20:22:50 +05:30
Adhiraj Singh
806138a35e feat: add logging event stream 2022-03-29 18:25:42 +05:30
Adhiraj Singh
030a534637 fix: remove redundant chat updates 2022-03-29 18:25:17 +05:30
Adhiraj Singh
ec6e904db4 refactor: process sync actions out of socket 2022-03-29 14:16:51 +05:30
Adhiraj Singh
ab9b232838 refactor: move processMessage out of socket 2022-03-29 14:04:14 +05:30
Catalin Bozan
6275b85eae Keep aspect ratio when generating thumbnails (#1409)
* fix: generated thumbnail ratio

* Delete myvid.mp4

* Delete thumb.jpeg
2022-03-25 16:23:38 +05:30
Adhiraj Singh
4b6e97cf93 feat: log timestamps in ISO format 2022-03-24 20:39:05 +05:30
Adhiraj Singh
1635b1e756 refactor: cleanup MD socket initial connect code + log more 2022-03-24 20:33:55 +05:30
Adhiraj Singh
fef6b9c6f3 chore: use normalizeMessageContent in message 2022-03-23 16:18:51 +05:30
Ami
3a52f06c0f Added ReactionMessage for React User Message with Emoji (#1382)
* Add react type

* Add ReactionMessage

* Add reactionMessage example...

* Lint fix...
2022-03-23 00:35:13 +05:30
kaatt
c8ced28ed4 consistency fixes for getUserAgent, update version (#1392)
* fixes to getUserAgent

* update version
2022-03-22 00:46:01 +05:30
Adhiraj Singh
b7713673b2 chore: match reg data 2022-03-21 23:31:07 +05:30