fix: guard provider-prefixed delivery targets

This commit is contained in:
Peter Steinberger
2026-05-02 05:29:55 +01:00
parent 2218ce46fe
commit 43121fb096
44 changed files with 753 additions and 25 deletions

View File

@@ -691,6 +691,7 @@ export const telegramPlugin = createChatChannelPlugin({
},
},
messaging: {
targetPrefixes: ["telegram", "tg"],
normalizeTarget: normalizeTelegramMessagingTarget,
resolveInboundConversation: ({ to, conversationId, threadId }) =>
resolveTelegramInboundConversation({ to, conversationId, threadId }),