diff --git a/src/router.ts b/src/router.ts index a13d22f..b14539c 100644 --- a/src/router.ts +++ b/src/router.ts @@ -61,20 +61,12 @@ export class EventRouter { const chatId = data.chat_id as string | undefined; const taskKey = data.task_key as string | undefined; - // Don't respond to own messages + // Don't respond to own messages (safety net — Tracker already filters) if (authorSlug === this.config.slug) { this.log.debug('Ignoring own message'); return; } - // System messages: only process if agent is mentioned - if (authorType === 'system') { - if (!content.includes(`@${this.config.slug}`)) { - this.log.debug('Ignoring system message (not mentioned): %s', content.slice(0, 100)); - return; - } - } - if (!content) { this.log.warn({ data }, 'message.new event missing content'); return;