Update chats.ts

This commit is contained in:
azudin
2023-12-08 00:01:10 +08:00
committed by GitHub
parent 41321dc34e
commit 9ce6e7b4e6

View File

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