Commit Graph

551 Commits

Author SHA1 Message Date
Adhiraj Singh
dfc030b453 fix: NaN last seen 2022-06-23 22:20:36 +05:30
Adhiraj Singh
a75d9118bd fix: only send receipt if participant present 2022-06-22 14:58:26 +05:30
Adhiraj Singh
33fffc4aad feat: implement privacy token fetch 2022-06-22 14:51:00 +05:30
Adhiraj Singh
721d0f32d6 feat: handle bad message acks + send retry to all correctly 2022-06-22 14:50:48 +05:30
Adhiraj Singh
d61d333c5b chore: nicer retry errors 2022-06-22 12:07:09 +05:30
Aditya Singh
a1082e85ed Fixed groupParticipantsUpdate request format (#1763) 2022-06-22 10:44:59 +05:30
Lucas Maia
51e5572f82 Update group.js (#1758)
Set status 200 as string, to standardize responses.
2022-06-20 15:44:24 +05:30
Adhiraj Singh
cacc1ce130 feat: implement "groupAcceptInviteV4" add participant msg 2022-06-19 15:33:28 +05:30
Adhiraj Singh
4ad0683e0c chore: remove redundant pre-fetch 2022-06-17 13:37:49 +05:30
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
23acc1fb39 feat: extract code from WS error 2022-06-16 20:43:51 +05:30
Adhiraj Singh
bd6be89d57 fix: ack before sending retry receipt 2022-06-16 15:25:55 +05:30
Adhiraj Singh
349002857e feat: use (participant, ID) tuple for retry counter 2022-06-16 15:25:31 +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
7b900c174d chore: more logging 2022-06-15 13:55:23 +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
Adhiraj Singh
ae94e0ac38 fix: correctly handle devices & encrypt notif 2022-06-13 19:56:00 +05:30
Adhiraj Singh
07f0ff86e8 chore: update group invite docs 2022-06-13 19:55:37 +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
cea9e9da8a fix: typeerror on patch 2022-06-08 22:56:09 +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
b7d8401f62 feat: put entire mutation in transaction 2022-06-05 14:00:09 +05:30
Adhiraj Singh
3b43153e92 fix: send unavailable if markOnlineOnConnect=false 2022-06-01 19:13:12 +05:30
Adhiraj Singh
82e2ec79d3 chore: add media update logging 2022-06-01 15:35:36 +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
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
26b286c98c chore: use Boom for WS errors 2022-05-31 21:36:11 +05:30
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
60aafded3e chore: remove redundant comment 2022-05-28 00:22:34 +05:30
Adhiraj Singh
07f1f8c043 chore: use query to prevent redundant logs 2022-05-28 00:22:25 +05:30
Adhiraj Singh
ed557967d1 chore: make "auth" mandatory in SocketConfig 2022-05-25 12:13:17 +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
e131b7c4d3 feat: pass cachedGroupMetadata from sendMessage 2022-05-23 11:32:51 +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
64a6070845 fix: use handshake timeout 2022-05-09 15:42:42 +05:30
Adhiraj Singh
ae4aa67950 feat: handle call events 2022-05-09 15:00:53 +05:30
Adhiraj Singh
3ac5eafc63 chore: more descriptive logging of connection close 2022-05-02 13:24:59 +05:30
✬Ravindu Manoj✬ ✓
846abbf7b9 catch errors in groupParticipantsUpdate (#1545)
* catch errors in groupParticipantsUpdate

* catch errors in groupParticipantsUpdate
2022-04-29 18:32:58 +05:30
Adhiraj Singh
fd9daf8ad3 refactor: remove redundant stream:error handling 2022-04-25 13:27:25 +05:30
Adhiraj Singh
9424d04f5d fix: catch promise rejection on presence update 2022-04-25 12:57:47 +05:30
Adhiraj Singh
211a899ed4 feat: handle stream:errors more gracefully 2022-04-25 09:11:03 +05:30