Commit Graph

26 Commits

Author SHA1 Message Date
Cesar Cejudo 54a448b2a8 Fix in-memory-store contacts (#1420)
fix issue where fromJSON loads contacts from the wrong variable
2022-03-27 20:36:28 +05:30
Adhiraj Singh de7d1002a9 lint: stricter linting rules 2022-03-01 16:32:14 +05:30
Anshu S bbea04e5bc Fix Issue #1209 (#1210) 2022-02-07 18:20:48 +05:30
Adhiraj Singh 08cd253e90 feat: add 'updateMessageWithReceipt' utility 2022-01-22 12:05:38 +05:30
Adhiraj Singh 92587bd46a refactor: use the proto UserReceipt instead of custom MessageInfo 2022-01-22 00:27:00 +05:30
Adhiraj Singh 284c7e7812 fix: do not mutate update object reference 2022-01-20 12:28:56 +05:30
Adhiraj Singh 1fb52de958 docs: update readme about store 2022-01-19 22:38:04 +05:30
Adhiraj Singh fb66733b61 feat: implement in memory store
1. the store works as a temporary store for connection data such as chats, messages & contacts
2. the store is primarily meant to illustrate the usage of the event emitter as a way to construct the state of the connection. This will likely be very inefficient to perform well at scale
3. the store is meant to be a quick way to have some visibility of data while testing
4. the store works for both legacy & MD connections
2022-01-19 21:35:59 +05:30
Adhiraj Singh 8f11f0be76 chore: add linting 2022-01-19 15:54:02 +05:30
Adhiraj Singh 671ea3e097 remove in-memory-store 2021-09-25 17:48:27 +05:30
Adhiraj Singh f267f27ada finalize multi-device 2021-09-22 22:19:53 +05:30
Adhiraj Singh dc471b365a impl orderdictionary filter 2021-08-26 19:32:53 +05:30
Adhiraj Singh 8a014df1c5 separate data structure for presence 2021-08-24 11:00:37 +05:30
Adhiraj Singh 5ee5cd8c01 fix message update bug 2021-08-12 20:00:40 +05:30
Adhiraj Singh f8c5394705 sticker media fix 2021-08-09 19:57:56 +05:30
Adhiraj Singh 5c4a317213 update proto + message info 2021-07-29 13:34:02 +05:30
Adhiraj Singh 5f8106d4e0 store fixes 2021-07-20 20:03:53 +05:30
Adhiraj Singh cd127dbca9 fix undefined error on messages fetch 2021-07-18 22:12:35 +05:30
Adhiraj Singh 8a5e6489c0 patch messages.update 2021-07-18 21:41:50 +05:30
Adhiraj Singh 6751b5cc73 make deps optional + bug fixes 2021-07-18 17:27:23 +05:30
Adhiraj Singh e65f060664 update broadcast lists 2021-07-16 23:48:43 +05:30
Adhiraj Singh f356fa1811 minor bug fixes 2021-07-16 01:55:04 +05:30
Adhiraj Singh 753ecf099b minor updates 2021-07-16 01:39:55 +05:30
Adhiraj Singh b372e36a2b store metadata 2021-07-15 23:41:58 +05:30
Adhiraj Singh 71e34fc5f8 Cleanup + add remaining utils 2021-07-12 23:50:08 +05:30
Adhiraj Singh 89cf8004e9 Wrap up connection + in memory store 2021-07-09 20:35:07 +05:30