refactor: убрана защита от loop (Tracker фильтрует own messages)

This commit is contained in:
Markov 2026-02-24 23:41:34 +01:00
parent c151a69de5
commit 195c2eb691

View File

@ -61,12 +61,6 @@ 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 (safety net — Tracker already filters)
if (authorSlug === this.config.slug) {
this.log.debug('Ignoring own message');
return;
}
if (!content) {
this.log.warn({ data }, 'message.new event missing content');
return;