Skip to content

Commit 6f7f328

Browse files
authored
fix: Fixed notSpam attribute of Chat is optional (#2416)
1 parent 1742b08 commit 6f7f328

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api/model/chat.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export interface Chat {
3232
muteExpiration: number;
3333
name: string;
3434
/** Whatsapp provides us with built-in spam detection and this is its indicator */
35-
notSpam: boolean;
35+
notSpam?: boolean;
3636
pin: number;
3737
msgs: null;
3838
kind: string;

0 commit comments

Comments
 (0)