Update chats.ts

This commit is contained in:
azudin
2023-12-07 23:44:51 +08:00
committed by GitHub
parent 13fcf827f4
commit 92dec36781

View File

@@ -780,7 +780,7 @@ export const makeChatsSocket = (config: SocketConfig) => {
/**
* Star or Unstar a message
*/
const star = (jid: string, messages: any, star: boolean) => {
const star = (jid: string, messages: { id: string; fromMe?: boolean }[], star: boolean) => {
return chatModify({
star: {
message,