From 7cee2d2aa18e17363ae1799b948662effcd82767 Mon Sep 17 00:00:00 2001 From: gekkedev <17025257+gekkedev@users.noreply.github.com> Date: Fri, 22 Nov 2024 18:28:50 +0100 Subject: [PATCH] fix: notSpam attribute of Chat is optional --- src/api/model/chat.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/model/chat.ts b/src/api/model/chat.ts index 22fafbc7d..343573c7d 100644 --- a/src/api/model/chat.ts +++ b/src/api/model/chat.ts @@ -32,7 +32,7 @@ export interface Chat { muteExpiration: number; name: string; /** Whatsapp provides us with built-in spam detection and this is its indicator */ - notSpam: boolean; + notSpam?: boolean; pin: number; msgs: null; kind: string;