Commit Graph

46 Commits

Author SHA1 Message Date
Adhiraj Singh
d2e3abfe49 fix: timestamp & other details not appearing + remove participant property from root message 2021-11-22 16:01:58 +05:30
Adhiraj Singh
d5e3d049c4 fix: add "offer" call ack 2021-11-22 00:16:22 +05:30
Adhiraj Singh
088bae44e8 fix: correctly map left group notification 2021-11-21 21:39:31 +05:30
Adhiraj Singh
27cf3954e8 fix: account for 0 messages in stanza 2021-11-21 16:52:59 +05:30
Adhiraj Singh
1cd96ad039 fix: incorrect group owner 2021-11-21 16:10:38 +05:30
Adhiraj Singh
3d0704a317 feat: cleaner auth state management
1. removes the "auth-state.update" event since it was bloated and fairly unnecessary
2. adds "creds.update" event that only sends the updated properties of the auth credentials
3. ensure the auth creds are not mutated anywhere, but only with the "creds.update" event
4. Separates the signal credentials from the auth credentials (kinda in progress)
5. in memory key store requires a save function to let one know when to save the keys

!BREAKING_CHANGE
2021-11-20 16:21:56 +05:30
Adhiraj Singh
c2c27a5dea fix: experimental patch to correctly identify end of offline notifications 2021-11-20 13:39:56 +05:30
Adhiraj Singh
72889551b9 feat: resync main app state on new key 2021-11-19 17:43:14 +05:30
Adhiraj Singh
dac5a63ff9 fix: ack for participants on MD 2021-11-16 16:21:56 +05:30
Adhiraj Singh
cff2b1427a fix: prevent duplicate receipts on multiple messages recv in stanza 2021-11-16 10:09:03 +05:30
Adhiraj Singh
e142f0b76e fix: empty messages upsert event on history sync 2021-11-16 10:08:22 +05:30
Adhiraj Singh
9ed4c28b8e fix: minor retry logic cleanup 2021-11-15 09:09:55 +05:30
Adhiraj Singh
2dfe5adbe1 feat: push failed decryption messages as "CIPHERTEXT" 2021-11-15 09:09:20 +05:30
Diego Araujo
bbf5bc96cc Fix retry receipt, fix assertingPreKeys, uploadPreKeys to 30, generate QR timeout and update example (#833)
* update example

* fix assertingPreKeys, uploadPreKeys to 30, generate QR timeout, sendRetryReceipt fix

* update example, change clear qr to event connection.update

* update example

* firstQR flag

* change checkConnection qr

* update example

* remove semis

* update example
2021-11-15 08:11:39 +05:30
Adhiraj Singh
7b5bb1f428 style: use sendMessageAck in recv notification 2021-11-11 15:14:42 +05:30
Adhiraj Singh
71664756dd style: use getAllBinaryNodeChildren 2021-11-11 11:29:12 +05:30
Adhiraj Singh
d8c8d46adb feat: implement call ack 2021-11-11 11:24:10 +05:30
Adhiraj Singh
05b3095bfd fix: message ack on group messages 2021-11-11 09:43:10 +05:30
Adhiraj Singh
469f3451d2 feat: catch groups create notification 2021-11-10 19:46:25 +05:30
Adhiraj Singh
cfa7e8ec66 fix: possible ack fix 2021-11-09 13:40:59 +05:30
Adhiraj Singh
5120f1d1e4 fix: ack receipts 2021-11-08 22:58:03 +05:30
Adhiraj Singh
4edfc7531b fix: possibly more accurate receipts 2021-11-08 21:51:06 +05:30
Adhiraj Singh
9b8684701a fix: use normalized jid for messages 2021-11-07 20:27:57 +05:30
Adhiraj Singh
609c925225 fix: delivery receipts 2021-11-06 16:58:46 +05:30
Adhiraj Singh
5a33fd85a4 fix: read receipts 2021-11-06 15:41:49 +05:30
Adhiraj Singh
d3b7ffecf2 code cleanup 2021-10-11 09:36:17 +05:30
Adhiraj Singh
c75364ada8 include all messages in initial bootstrap 2021-10-09 20:28:59 +05:30
Adhiraj Singh
183a1c6ad0 fix message prepend event 2021-10-08 12:07:25 +05:30
Adhiraj Singh
91bbf575ec implement recent history sync 2021-10-08 10:50:55 +05:30
Adhiraj Singh
c5d8389754 receipt ack fix 2021-10-07 12:57:02 +05:30
Adhiraj Singh
0406f4a9ba delete msg key fix 2021-10-05 18:42:39 +05:30
Adhiraj Singh
601c793fcd dont emit delete msg events 2021-10-05 17:56:57 +05:30
Adhiraj Singh
063803ae1b delete message fix 2021-10-05 15:51:14 +05:30
Adhiraj Singh
919781488b upsert contact on app sync patch + add message.participant to full message 2021-10-04 09:48:33 +05:30
Adhiraj Singh
15d14836ce fix message recv fromMe flag 2021-09-29 12:36:40 +05:30
Adhiraj Singh
fdfe310fdf implement encrypting app patches 2021-09-28 19:22:39 +05:30
Adhiraj Singh
1890b6a021 fix contact update 2021-09-27 16:55:42 +05:30
Adhiraj Singh
723d1d6712 fire contact update if pushname provided 2021-09-27 16:48:46 +05:30
Adhiraj Singh
34ee9647d3 fix receipt from other device not working 2021-09-27 12:58:03 +05:30
Adhiraj Singh
9907aedcfa null expiration for eph messages 2021-09-27 12:49:12 +05:30
Adhiraj Singh
4aaf7b6a48 fix group metadata fetch 2021-09-26 23:15:57 +05:30
Adhiraj Singh
8988694d34 receipt fix 2021-09-26 23:05:01 +05:30
Adhiraj Singh
91bbab54c4 fix delivery receipt 2021-09-26 22:36:15 +05:30
Adhiraj Singh
23101f87a1 move appstatesynckey to keys 2021-09-26 12:35:56 +05:30
Adhiraj Singh
f1527a9f6b separate out crypto utils 2021-09-23 22:37:33 +05:30
Adhiraj Singh
f267f27ada finalize multi-device 2021-09-22 22:19:53 +05:30