Don't play notification sound when msg.fromMe

This commit is contained in:
天クマ 2026-07-16 08:29:54 -03:00
commit 9480c600f9
3 changed files with 12 additions and 2 deletions

View file

@ -73,7 +73,7 @@ export const waha = {
},
async getChats() {
const data = await request(`/api/${config.session}/chats?sortBy=conversationTimestamp`);
const data = await request(`/api/${config.session}/chats`);
return data.map(chat => {
let chatId = chat.id;
if (chatId && typeof chatId === "object") {