Skip to content

Commit 4ce6052

Browse files
authored
Update whatsapp.baileys.service.ts
1 parent 1a58e42 commit 4ce6052

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/api/integrations/channel/whatsapp/whatsapp.baileys.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1142,7 +1142,7 @@ export class BaileysStartupService extends ChannelStartupService {
11421142
}
11431143

11441144
if (text == 'onDemandHistSync') {
1145-
const messageId = await this.client.fetchMessageHistory(50, received.key, received.messageTimestamp!);
1145+
const messageId = await this.client.fetchMessageHistory(5, received.key, received.messageTimestamp!);
11461146
console.log('requested on-demand sync, id=', messageId);
11471147
}
11481148
}

0 commit comments

Comments
 (0)