Commit Graph

115 Commits

Author SHA1 Message Date
Adhiraj Singh
29bee92e79 fix: remove recipient from ack 2022-05-28 18:47:48 +05:30
Adhiraj Singh
2b5389239f chore: better ack 2022-05-28 18:45:16 +05:30
Adhiraj Singh
5eca282d05 chore: remove likely redundant acks 2022-05-28 18:21:46 +05:30
Adhiraj Singh
4ea2c33cfa fix: cleanMessage for reaction messages 2022-05-23 12:46:34 +05:30
Adhiraj Singh
ebec02908c feat: add clean message util before calling "messages.upsert" 2022-05-23 12:32:43 +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
44a6ac3534 Merge branch 'master' into invalid-qr-patch 2022-04-22 18:20:17 +05:30
Adhiraj Singh
ac17225cf3 fix: use correct ID for retry recp 2022-04-20 13:20:05 +05:30
Adhiraj Singh
af7b2a5dd2 feat: limit number of message retries being sent 2022-04-20 13:10:53 +05:30
Adhiraj Singh
02265fd7f9 refactor: upload more pre-keys + use pure function 2022-04-13 00:02:10 +05:30
Adhiraj Singh
75c637cf6c feat: remove need for "serverHasPreKeys" 2022-04-12 18:47:18 +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
64bab02b7c fix: patch proto sync receipts 2022-04-03 00:15:06 +05:30
Adhiraj Singh
f9ffb0f4c8 refactor: send history sync later 2022-04-03 00:14:34 +05:30
Adhiraj Singh
334f85f8c5 feat: handle "peer_msg" receipts 2022-04-02 15:45:09 +05:30
Adhiraj Singh
355b0664df feat: handle encrypt notification 2022-04-02 13:37:10 +05:30
Adhiraj Singh
ced2f5d5ab feat: debounced app state resync 2022-03-29 19:59:19 +05:30
Adhiraj Singh
cc7c895320 fix: export correct processMessage function 2022-03-29 18:25:04 +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
Adhiraj Singh
bb9f233de4 chore: move ack of notification before processing 2022-03-29 13:41:25 +05:30
Adhiraj Singh
4bfb0e1343 chore: log when encountered unexpected connection close 2022-03-24 10:14:23 +05:30
Adhiraj Singh
8d7fde1bf4 feat: add delay between retry requests 2022-03-23 12:40:01 +05:30
Adhiraj Singh
b933970d51 fix: do not fire chat update for reactions 2022-03-23 12:39:11 +05:30
Ezequiel José Oliveira
f773a32da8 fix processMessage unexpected error (#1401) 2022-03-23 08:11:21 +05:30
Adhiraj Singh
9fee7faaf6 feat: add message events for reactions 2022-03-23 00:40:46 +05:30
Adhiraj Singh
5e80f5ace3 chore: ack history before processing 2022-03-21 23:29:56 +05:30
Adhiraj Singh
e731de5deb feat: add state sync keys in transaction 2022-03-21 23:29:43 +05:30
Adhiraj Singh
4962070c29 fix: possible typeerror 2022-03-21 18:57:29 +05:30
Adhiraj Singh
93c8db319e feat: implement "treatCiphertextMessagesAsReal" flag 2022-03-21 14:15:22 +05:30
Adhiraj Singh
f2859e5387 fix: correctly handle receipts fromMe 2022-03-17 11:34:26 +05:30
Adhiraj Singh
13b0da0954 fix: catch unexpected errors on MD 2022-03-15 12:34:52 +05:30
Adhiraj Singh
e93e6e2656 fix: only sync app state on one batch of history 2022-03-07 18:18:21 +05:30
Adhiraj Singh
9ca46635d6 fix: correctly parse protocol message 2022-03-07 15:38:52 +05:30
Adhiraj Singh
d6065015e6 chore: move messages-recv utils to the bottom of file 2022-03-07 09:07:38 +05:30
Adhiraj Singh
a8a0c701ae chore: add participant to msg body for notifications 2022-03-02 13:14:12 +05:30
Adhiraj Singh
3d56d610ae fix: redundant array 2022-03-02 00:06:56 +05:30
Adhiraj Singh
de7d1002a9 lint: stricter linting rules 2022-03-01 16:32:14 +05:30
Adhiraj Singh
73527ff5dd chore: lint 2022-02-08 11:02:19 +05:30
HUGEIT
df1e400e03 sendRetryRequest ("Waiting for this message") wrapped in mutex call to avoid crash in #1152 2022-01-25 13:54:42 +01:00
Adhiraj Singh
1f2a6641f3 feat: mutex processing in a chat to preserve order of events 2022-01-22 14:07:06 +05:30
Adhiraj Singh
a06f639774 fix: self read receipt on groups 2022-01-22 12:19:00 +05:30
Adhiraj Singh
57d6ab62a1 feat: use message receipt on MD 2022-01-22 11:37:26 +05:30
Adhiraj Singh
8f11f0be76 chore: add linting 2022-01-19 15:54:02 +05:30
Adhiraj Singh
4112c68556 feat: expose sendRetryRequest 2022-01-16 15:33:26 +05:30
Adhiraj Singh
7bb6e3ceeb refactor: chats.set event 2022-01-16 13:02:38 +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
5febb86e14 fix: message delete not reflecting correctly for others 2022-01-08 23:01:55 +05:30