Commit Graph

13 Commits

Author SHA1 Message Date
Adhiraj Singh
d04718e27a feat: add desktop + full history sync opts 2022-07-26 13:30:01 +05:30
Adhiraj Singh
40a1e268aa feat: add "strictNullChecks" 2022-07-09 10:20:07 +05:30
Adhiraj Singh
7421f55daa feat: implement event buffer for offline msgs
!BREAKING_CHANGE

1. this allows all offline notifications to be combined into a batch -- to reduce the number of events being sent out
2. to enable the above, the "message.reaction" event has been made an array. Also removes the need for the "operation" field
3. have also now started processing all events under a single queue to prevent state sync problems
2022-06-27 13:38:29 +05:30
Adhiraj Singh
ee7ed1d4e5 feat: include last message in chat 2022-06-24 11:46:47 +05:30
Adhiraj Singh
5cb71ac862 feat: more accurately handle app state sync 2022-06-11 12:02:08 +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
bf8ff6d253 fix: readonly chats on sync 2022-05-09 16:03:53 +05:30
Adhiraj Singh
93262b38f4 fix: history sync missing contacts 2022-03-07 18:17:43 +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
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
fdfe310fdf implement encrypting app patches 2021-09-28 19:22:39 +05:30
Adhiraj Singh
f267f27ada finalize multi-device 2021-09-22 22:19:53 +05:30