From 6f7f328c968df38d72d53e732043fc698f50ebf1 Mon Sep 17 00:00:00 2001 From: gekkedev <17025257+gekkedev@users.noreply.github.com> Date: Fri, 20 Dec 2024 21:15:51 +0100 Subject: [PATCH] fix: Fixed notSpam attribute of Chat is optional (#2416) --- 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;