Adhiraj Singh
7863c0e4c2
perf: nicer "shouldIncludeDeviceIdentity" flag computation
2022-06-17 13:16:41 +05:30
Adhiraj Singh
399b4d3cb8
feat: add "device_fanout" flag for retry receipt
2022-06-17 13:16:22 +05:30
Adhiraj Singh
1dc5d4eae0
fix: do not add "reason: identity" for details fetch
2022-06-16 14:56:06 +05:30
Adhiraj Singh
e9f494ec5d
feat: more efficient message send
2022-06-16 14:53:23 +05:30
Adhiraj Singh
442489faae
fix: correctly respond to retry requests
2022-06-15 15:05:43 +05:30
Adhiraj Singh
82e2ec79d3
chore: add media update logging
2022-06-01 15:35:36 +05:30
Adhiraj Singh
f62898dee7
fix: emit messages.update on successful reupload
2022-06-01 13:18:37 +05:30
Adhiraj Singh
06ce5f9be0
feat: add media retry for MD
2022-06-01 13:04:45 +05:30
Adhiraj Singh
60aafded3e
chore: remove redundant comment
2022-05-28 00:22:34 +05:30
Adhiraj Singh
e131b7c4d3
feat: pass cachedGroupMetadata from sendMessage
2022-05-23 11:32:51 +05:30
Adhiraj Singh
68a6f34cde
feat: add timeoutMs to link preview
2022-04-22 20:05:17 +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
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
64bab02b7c
fix: patch proto sync receipts
2022-04-03 00:15:06 +05:30
Adhiraj Singh
8addc714c7
feat: add more receipt types
2022-04-02 15:44:22 +05:30
Adhiraj Singh
de7d1002a9
lint: stricter linting rules
2022-03-01 16:32:14 +05:30
Adhiraj Singh
8f11f0be76
chore: add linting
2022-01-19 15:54:02 +05:30
Adhiraj Singh
f7f86e69d6
chore: update log
2022-01-16 16:03:22 +05:30
Adhiraj Singh
6a2cb5a413
refactor: message decoding
...
1. removes redundant receipt (was exactly the same as delivery receipt without the timestamp)
2. decodeWAMessage now returns a proper message struct
3. each message stanza results in exactly one message decoded
2022-01-07 00:04:17 +05:30
Adhiraj Singh
9d7aec11da
feat: add more logging to media
2021-12-19 14:35:51 +05:30
Adhiraj Singh
c803e22e8a
feat: functional legacy socket
2021-12-17 20:58:33 +05:30
Adhiraj Singh
be0e2210d9
Merge branch 'multi-device' into multi-device-legacy
2021-12-17 19:28:00 +05:30
Adhiraj Singh
19a9980492
feat: add legacy connection
2021-12-17 19:27:04 +05:30
Adhiraj Singh
ed30e368ad
fix: tsc error
2021-12-17 11:16:49 +05:30
LyFE
ca12da6269
fix updateBlockStatus,fetchPrivacySettings ( #1034 )
...
* fix updateBlockStatus
* fix fetchPrivacySettings
* Update chats.ts
2021-12-16 23:49:48 +05:30
Adhiraj Singh
9474017930
feat: async import got wherever required
2021-12-16 00:38:53 +05:30
Adhiraj Singh
d15dd6e1d2
feat: add "direct_path" to media messages
2021-12-13 17:31:20 +05:30
Adhiraj Singh
f284217d35
feat: implement transactions on auth state
2021-12-11 18:28:07 +05:30
Adhiraj Singh
2b8256d56b
feat: cleaner auth state management + store SK keys
...
!BREAKING_CHANGE
2021-12-11 17:54:38 +05:30
Adhiraj Singh
792c4bf0a4
feat: add custom host names
2021-12-11 11:32:12 +05:30
LightningNeko
e20e479d74
fix waiting for this message ( #966 )
2021-12-05 01:47:14 +05:30
Adhiraj Singh
78fd72c8e5
feat: implement message retry handling
...
so if a message fails to decrypt on the other user's end -- it can be retried
2021-12-04 13:47:24 +05:30
HUGEIT
903871d180
potential fix for QR scan. the server may expect these messages to be sent on reconnect after scan ( #959 )
...
* potential fix for QR scan. the server may expect these messages to be sent on reconnect after scan.
* refactor: extract dictionary reduce code into utility
* refactor: convert the props + abt send req to somewhat useful query
Co-authored-by: Adhiraj Singh <adhirajsingh1001@gmail.com >
2021-12-03 18:40:26 +05:30
Adhiraj Singh
d9cfed64ff
fix: bad request on sending messages in some cases
...
Issue source found out by @jackcokk
2021-12-03 15:20:17 +05:30
Adhiraj Singh
6786576d13
style: fix indentation
2021-11-26 10:30:59 +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
lyfe00011
2641474c5a
prepareWAMessageMedia option ( #880 )
2021-11-19 18:39:31 +05:30
Adhiraj Singh
3e54741042
feat: cache media uploads
2021-11-10 19:22:00 +05:30
Adhiraj Singh
dee815448b
feat: cache user devices
2021-11-07 19:51:14 +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
cacbaa37f2
exclude my device from message send
2021-10-09 19:29:10 +05:30
Adhiraj Singh
e6bc1916c2
Update messages-send.ts
2021-10-05 19:09:23 +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
e84002d807
add emitOwnEvents
2021-10-01 13:46:19 +05:30
Adhiraj Singh
fdfe310fdf
implement encrypting app patches
2021-09-28 19:22:39 +05:30