Free, Open Source, Self-Hosted WhatsApp API Gateway
TypeScript apibotgatewayself-hostedwhatsappwhatsapp-apiwhatsapp-automationwhatsapp-botwhatsapp-gatewaywhatsapp-gateway-apiwhatsapp-webwhatsapp-web-api
docs(message): correct what the list cursor check covers
Yudhi Armyndharis47ba27010a61
diff --git a/src/modules/message/message.service.ts b/src/modules/message/message.service.tsindex 1cc4f35f4..30d8250ef 100644--- a/src/modules/message/message.service.ts+++ b/src/modules/message/message.service.ts@@ -405,7 +405,9 @@ export class MessageService implements PluginMessagePort {if (after !== undefined) {// A selection cursor must name a row inside this same selection, not merely a row from the- // session. Otherwise an unrelated chat/time/direction could silently truncate a valid walk.+ // session. Otherwise an unrelated time/direction/type could silently truncate a valid walk. A chat or+ // sender filter is left out: its candidate set can change between pages (a lid mapping learned or lost),+ // and the cursor is only a position in time, so a row stored under an alias must still anchor the walk.if ((messageTimeOrder ||options.since !== undefined ||