Codeboss
30b96c528b
Crash if chat is already deleted ( #321 )
2023-08-10 02:34:33 +03:00
dudagervasio
aa9872b039
fix: Fixed In Memory Store: contacts.upsert handle ( #144 )
2023-06-15 21:45:24 -03:00
Samuel Rodrigues Almeida Costa
df6b318472
feat: Added makeCacheManagerAuthState Implementation ( #109 )
2023-06-12 11:48:39 -03:00
aqulzz
6ed9298d96
fix: cannot find module "@adiwajshing/keyed-db" ( #124 )
2023-06-12 10:08:10 -03:00
Rajeh Taher
8b4b14d1de
Merge pull request #69 from rawars/master
...
Label support
2023-05-18 23:03:09 +03:00
dudagervasio
7b4abcdb23
fix: In memory store: normalize user when asserting message list to update messages ( #49 )
...
* normalize user when asserting message list to update messages
* in memory
* update verifies status
* code style improved
2023-05-18 09:04:19 -03:00
Rafael Garcia
3ac29e131d
Slint fixes applied
2023-05-15 09:41:33 -05:00
Rafael Garcia
ce019dcf0f
feat(store/labels): add ability to store and query labels
2023-05-14 12:50:45 -05:00
Adhiraj Singh
d0330d1863
refactor!: cleaner message history sync
...
This is a breaking change,
1. three events (chats.set, contacts.set, messages.set) are now just one `messaging-history.set` event
2. no need to debounce for app state sync
3. added a new "conditional" chat update to allow for correct app state sync despite not having the chat available on hand
2022-09-29 16:32:57 +05:30
Adhiraj Singh
e08dd10198
refactor!: use proto.Conversation's own chat mutation fields instead of baileys added
2022-09-29 11:06:09 +05:30
Adhiraj Singh
e7f6838fa4
chore: remove legacy code
2022-09-19 14:59:35 +05:30
fadiinho
9e096c731c
feat: add reaction update to the store
2022-07-27 10:07:51 +05:30
Adhiraj Singh
40a1e268aa
feat: add "strictNullChecks"
2022-07-09 10:20:07 +05:30
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