feat(telegram): display thread ID for DM topics in Sessions tab

- Add ThreadLabel for DM threads (format: 'Thread: N')
- Add unit tests for ThreadLabel in DM threads
- Fix UI: read URL session param before syncTabWithLocation overwrites it
This commit is contained in:
Clawdbot committed 2026-01-29 08:40:39 +01:00
1 parent 6372242da7
commit 5cad6d3f9d
3 files changed
+31

No files matched your search

+2
View File
@@ -35,6 +35,8 @@ type LifecycleHost = {
export function handleConnected(host: LifecycleHost) {
host.basePath = inferBasePath();
// Apply URL settings FIRST so sessionKey is read before syncTabWithLocation
// overwrites it with the localStorage value
applySettingsFromUrl(
host as unknown as Parameters<typeof applySettingsFromUrl>[0],
);