The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fix: resolve pinned Telegram sessions into sidebar Pinned section
Pebrdab694586b2ba
diff --git a/apps/desktop/src/app/chat/sidebar/index.tsx b/apps/desktop/src/app/chat/sidebar/index.tsxindex 0d82ef78725..5ce15f29f1d 100644--- a/apps/desktop/src/app/chat/sidebar/index.tsx+++ b/apps/desktop/src/app/chat/sidebar/index.tsx@@ -395,13 +395,15 @@ export function ChatSidebar({// Index sessions by both their live id and their lineage-root id so a pin// stored as the pre-compression root resolves to the live continuation tip.+ // Include messaging sessions (Telegram, etc.) so pinned gateway chats also+ // resolve into the Pinned section.const sessionByAnyId = useMemo(() => {const map = new Map<string, SessionInfo>()// Cron sessions are listed separately but can still be pinned, so index// them too — otherwise a pinned cron job can't resolve into the Pinned// section. Recents take precedence on id collisions (set last).- for (const s of [...cronSessions, ...visibleSessions]) {+ for (const s of [...cronSessions, ...messagingSessions, ...visibleSessions]) {map.set(s.id, s)if (s._lineage_root_id && !map.has(s._lineage_root_id)) {