You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After I send a message from my other mobile to my connected whatsapp number and read the counting I get 0.
In message_create event, I do:
const chat: Chat = await msg.getChat();
const unreadMessages = chat.unreadCount; // The value should be 1, but got 0
Expected behavior
The chat.unreadCount shoul be return 1, not 0
Steps to Reproduce the Bug or Issue
After I send a message from my other mobile to my connected whatsapp number and read the counting I get 0.
In message_create event, I do:
const chat: Chat = await msg.getChat();
const unreadMessages = chat.unreadCount; // The value should be 1, but got 0
Relevant Code
No response
Browser Type
Chromium
WhatsApp Account Type
Standard
Does your WhatsApp account have multidevice enabled?
Yes, I am using Multi Device
Environment
OS: Linux + Ubuntu 22.04
Phone OS: Android
whatsapp-web.js version: 1.24.0
WhatsApp Web version: 2.2412.54v2
Node.js Version: 20.11.0
Additional context
No response
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
Describe the bug
After I send a message from my other mobile to my connected whatsapp number and read the counting I get 0.
In message_create event, I do:
const chat: Chat = await msg.getChat();
const unreadMessages = chat.unreadCount; // The value should be 1, but got 0
Expected behavior
The chat.unreadCount shoul be return 1, not 0
Steps to Reproduce the Bug or Issue
After I send a message from my other mobile to my connected whatsapp number and read the counting I get 0.
In message_create event, I do:
const chat: Chat = await msg.getChat();
const unreadMessages = chat.unreadCount; // The value should be 1, but got 0
Relevant Code
No response
Browser Type
Chromium
WhatsApp Account Type
Standard
Does your WhatsApp account have multidevice enabled?
Yes, I am using Multi Device
Environment
OS: Linux + Ubuntu 22.04
Phone OS: Android
whatsapp-web.js version: 1.24.0
WhatsApp Web version: 2.2412.54v2
Node.js Version: 20.11.0
Additional context
No response
The text was updated successfully, but these errors were encountered: