fix: clean lint issues

This commit is contained in:
Peter Steinberger
2026-01-08 11:07:04 +00:00
parent 63bad210c9
commit 959a19d8ae
3 changed files with 4 additions and 9 deletions

View File

@@ -18,7 +18,6 @@ export type ResolvedWhatsAppAccount = {
authDir: string;
isLegacyAuthDir: boolean;
selfChatMode?: boolean;
dmPolicy?: WhatsAppAccountConfig["dmPolicy"];
allowFrom?: string[];
groupAllowFrom?: string[];
groupPolicy?: GroupPolicy;
@@ -118,7 +117,6 @@ export function resolveWhatsAppAccount(params: {
groupAllowFrom:
accountCfg?.groupAllowFrom ?? params.cfg.whatsapp?.groupAllowFrom,
groupPolicy: accountCfg?.groupPolicy ?? params.cfg.whatsapp?.groupPolicy,
dmPolicy: accountCfg?.dmPolicy ?? params.cfg.whatsapp?.dmPolicy,
textChunkLimit:
accountCfg?.textChunkLimit ?? params.cfg.whatsapp?.textChunkLimit,
groups: accountCfg?.groups ?? params.cfg.whatsapp?.groups,