Commit Graph

18 Commits

Author SHA1 Message Date
Adhiraj Singh 3a891e071e feat: map all WA media types 2022-09-15 15:09:51 +05:30
Adhiraj Singh c20865dff1 fix: correctly set latest message in chat + lastMsgRecvTimestamp 2022-09-11 11:07:12 +05:30
azudin f11c8c401f Fixed chats recent message
Include message either fromMe is false or true
2022-09-11 11:07:12 +05:30
Ilya Borodin 4f1d9492c5 Changed concat to push 2022-08-20 23:21:56 +05:30
Adhiraj Singh 2549d10be9 feat: update proto
The new proto extract has a bunch of breaking changes, so if you were using the raw proto in your code somewhere -- then you may have to update your code to make it work with the new proto

!BREAKING_CHANGE
2022-08-01 10:43:04 +05:30
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