mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
fix: remove redundant chat updates
This commit is contained in:
@@ -157,7 +157,7 @@ const processMessage = async(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if(Object.keys(chat).length) {
|
if(Object.keys(chat).length > 1) {
|
||||||
map['chats.update'] = [chat]
|
map['chats.update'] = [chat]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user