Commit Graph

109 Commits

Author SHA1 Message Date
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
BochilGaming
0b5d772b08 Fix ContactsArrayMessage and add getBusinessProfile (#1074)
* Fix: ContactsArrayMessage and add getBusinessProfile

* delete package-lock.json

* edit readme.md

* add bussines hours

* make type same with leagcy

* revert
2022-01-06 22:15:52 +05:30
Adhiraj Singh
9c0a3b8962 feat: add option to specify limit for custom upload host 2022-01-03 12:40:55 +05:30
Pokoke
3ad02f0317 fix listMessage (#1070)
* fix listMessage

* Default listType

Co-authored-by: Rajeh Taher <rajeh@reforward.dev>

* use the ListMessageListType enum

* use the ListMessageListType enum

Co-authored-by: Rajeh Taher <rajeh@reforward.dev>
2021-12-31 15:45:35 +05:30
Adhiraj Singh
5ae0b98636 feat: add replace type for messages.upsert 2021-12-23 10:54:17 +05:30