Commit Graph

113 Commits

Author SHA1 Message Date
Adhiraj Singh 721d0f32d6 feat: handle bad message acks + send retry to all correctly 2022-06-22 14:50:48 +05:30
4l3dx 084c39ca73 fix: add missing isAnimated flag (#1767) 2022-06-22 10:44:16 +05:30
LeonardoBein 227cab2f95 feat: Returns an object with information about the invite code's group (#1562)
* feat: Returns an object with information about the invite code's group

* refactor: more information in metadata group
2022-06-13 20:34:01 +05:30
Dwi Rizqi e7087cabf5 fix: Delete Message For Me (#1718)
* Add Timestamp for deleteMessageForMe

* Fix Typo Readme

* Add Timestamp for deleteMessageForMe

* fix: Typo type timestamp
2022-06-13 20:13:52 +05:30
Adhiraj Singh 32fadda86a feat: add button reply 2022-06-13 16:22:28 +05:30
Adhiraj Singh b125638253 fix: add missing "isLatest" flag 2022-06-13 12:53:20 +05:30
Adhiraj Singh f87f89329b perf: avoid excess memory usage when syncing state 2022-06-11 20:25:57 +05:30
Adhiraj Singh 5cb71ac862 feat: more accurately handle app state sync 2022-06-11 12:02:08 +05:30
Adhiraj Singh 79518787b6 feat: prevent urlInfo gen 2022-06-10 09:52:36 +05:30
Adhiraj Singh 5305730d82 feat: track history being stored
This is done because sometimes we receive history after the first connect too, and to ensure the "isLatest" flag is accurate -- we ensure no history was received previously
2022-06-07 21:18:51 +05:30
Adhiraj Singh 6824a203d0 feat: correctly handle presence being offline for receipts
When sendPresenceUpdate('unavailable') is called, it should allow notifications to be received on the phone
2022-06-01 13:20:21 +05:30
Adhiraj Singh 06ce5f9be0 feat: add media retry for MD 2022-06-01 13:04:45 +05:30
Adhiraj Singh ed557967d1 chore: make "auth" mandatory in SocketConfig 2022-05-25 12:13:17 +05:30
Adhiraj Singh e131b7c4d3 feat: pass cachedGroupMetadata from sendMessage 2022-05-23 11:32:51 +05:30
Adhiraj Singh 7e290b4dfb chore: reduce data required for cachedGroupMetadata 2022-05-23 11:20:01 +05:30
Adhiraj Singh a8e209705a feat: add retry capability to SignalKeyStore 2022-05-22 20:52:21 +05:30
Adhiraj Singh 9a39a46398 feat: add toggle to download history 2022-05-22 17:23:30 +05:30
Adhiraj Singh ae4aa67950 feat: handle call events 2022-05-09 15:00:53 +05:30
Adhiraj Singh 221b95050f chore: make use of "msgRetryCounterMap" more explicit 2022-05-01 11:44:51 +05:30
Adhiraj Singh 6ee60bff67 chore: add ability to specify ISyncActionMessageRange directly 2022-04-28 16:26:23 +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 fd9daf8ad3 refactor: remove redundant stream:error handling 2022-04-25 13:27:25 +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 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 7db8796fed feat: include platform in creds 2022-04-13 12:49:46 +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 060c838707 feat: resync main app state on first open 2022-04-08 23:29:36 +05:30
Adhiraj Singh 0d94315776 feat: handle unarchiveChats setting 2022-04-07 11:29:57 +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 8addc714c7 feat: add more receipt types 2022-04-02 15:44:22 +05:30
Adhiraj Singh 8d7fde1bf4 feat: add delay between retry requests 2022-03-23 12:40:01 +05:30
Adhiraj Singh 9fee7faaf6 feat: add message events for reactions 2022-03-23 00:40:46 +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
Adhiraj Singh 93c8db319e feat: implement "treatCiphertextMessagesAsReal" flag 2022-03-21 14:15:22 +05:30
Adhiraj Singh 238cde23b7 feat: automatic upload detection for product images 2022-03-07 15:33:52 +05:30
Adhiraj Singh c4edcef5da feat: implement fetching product catalog + order details on MD 2022-03-06 13:30:11 +05:30
Adhiraj Singh 8a52eeb310 feat: implement getOrder on legacy 2022-03-06 10:56:29 +05:30
Adhiraj Singh de7d1002a9 lint: stricter linting rules 2022-03-01 16:32:14 +05:30
Adhiraj Singh d21a39c302 feat: add product API for legacy connections 2022-02-24 17:58:37 +05:30
Adhiraj Singh 92587bd46a refactor: use the proto UserReceipt instead of custom MessageInfo 2022-01-22 00:27:00 +05:30
Adhiraj Singh 8f11f0be76 chore: add linting 2022-01-19 15:54:02 +05:30
Adhiraj Singh 7bb6e3ceeb refactor: chats.set event 2022-01-16 13:02:38 +05:30
Adhiraj Singh 09553def8a fix: include isLatest in events 2022-01-16 12:54:08 +05:30
Adhiraj Singh 793b23cb21 refactor: history processing
1. fixes issue when some chats/messages are not synced
2. adds info about whether the history chunk is the latest
2022-01-16 12:51:08 +05:30
Adhiraj Singh ede40b16f1 fix: update MD mismatch error code
Because 403 can mean other things as well -- don't want to conflate the two
2022-01-11 11:00:19 +05:30
Adhiraj Singh d15bde5d17 refactor: app state handling
1. fixes snapshot patches not being included
2. fixes all mutations being passed when syncing from scratch
3. simpler chat mutation model
4. do not retry if key is not found
2022-01-07 14:29:52 +05:30