Update chats.ts

This commit is contained in:
azudin
2023-12-07 23:37:06 +08:00
committed by GitHub
parent d3cf789f82
commit d1b57cf990

View File

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