mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
fix message update bug
This commit is contained in:
@@ -51,7 +51,7 @@ const makeOrderedDictionary = function<T>(idGetter: (item: T) => string) {
|
||||
if(item) {
|
||||
Object.assign(item, update)
|
||||
delete dict[id]
|
||||
dict[id] = item
|
||||
dict[idGetter(item)] = item
|
||||
return true
|
||||
}
|
||||
return false
|
||||
|
||||
Reference in New Issue
Block a user