Skip to content

Free, Open Source, Self-Hosted WhatsApp API Gateway

refactor(plugins): drop the message port's unused history member

Yudhi Armyndharisec251d8dd2e2
diff --git a/src/core/plugins/plugin-host-ports.ts b/src/core/plugins/plugin-host-ports.ts
index c46e19549..546d671a5 100644
--- a/src/core/plugins/plugin-host-ports.ts
+++ b/src/core/plugins/plugin-host-ports.ts
@@ -33,12 +33,6 @@ export interface PluginMessagePort {
sessionId: string,
dto: { chatId: string; latitude: number; longitude: number; description?: string },
): Promise<MessageResponseDto>;
- getChatHistory(
- sessionId: string,
- chatId: string,
- limit?: number,
- includeMedia?: boolean,
- ): ReturnType<IWhatsAppEngine['getChatHistory']>;
}
/** Live-engine resolution + the deleted-session probe the capability gates rely on. */