Update chats.ts

This commit is contained in:
azudin
2023-12-07 23:55:09 +08:00
committed by GitHub
parent 6f81ce9527
commit 41321dc34e

View File

@@ -781,13 +781,13 @@ export const makeChatsSocket = (config: SocketConfig) => {
* Star or Unstar a message
*/
const star = (jid: string, messages: { id: string; fromMe?: boolean }[], star: boolean) => {
return chatModify({
star: {
messages,
star
}
}, jid);
};
return chatModify({
star: {
messages,
star
}
}, jid)
}
/**
* Adds label for the chats