Fixes Access Denied because only the LID was used.

This commit is contained in:
Adrian Höhne
2026-02-07 11:44:20 +00:00
committed by adrianhoehne
parent 625fc60282
commit b179a028c3
2 changed files with 11 additions and 5 deletions

View File

@@ -20,6 +20,7 @@ const VERSION = '0.1.0';
export interface InboundMessage {
id: string;
sender: string;
pn: string;
content: string;
timestamp: number;
isGroup: boolean;
@@ -123,6 +124,7 @@ export class WhatsAppClient {
this.options.onMessage({
id: msg.key.id || '',
sender: msg.key.remoteJid || '',
pn: msg.key.remoteJidAlt || '',
content,
timestamp: msg.messageTimestamp as number,
isGroup,