fix: remove redundant chat updates

This commit is contained in:
Adhiraj Singh
2022-03-29 18:25:17 +05:30
parent cc7c895320
commit 030a534637

View File

@@ -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]
} }