Skip to content

Commit

Permalink
fix: Fixed WPP.chat.markIsUnread function (wppconnect-team/wppconnect…
Browse files Browse the repository at this point in the history
  • Loading branch information
edgardmessias committed Jul 11, 2022
1 parent b5f88e9 commit db7195e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/chat/functions/markIsUnread.ts
Expand Up @@ -31,7 +31,7 @@ import { markUnread } from '../../whatsapp/functions';
export async function markIsUnread(chatId: string | Wid) {
const chat = assertGetChat(chatId);

await markUnread(chat, false);
await markUnread(chat, true);

return {
wid: chat.id,
Expand Down

0 comments on commit db7195e

Please sign in to comment.