1.3 KiB
1.3 KiB
v0.2.8 (2026-04-22)
Follow-up fix to v0.2.7's Telegram-send unification. The shared factory was in place, but commands and notifications were still writing into different cache-key namespaces — so in practice the caches never actually shared entries.
Bug Fixes
- Commands and notifications now share one
file_idcache namespace —common._format_assetswas passingcache_key=<bare asset UUID>, while the notification dispatcher writes keys as<host>:<uuid>(derived from the URL byextract_asset_id_from_url). The two paths populated different keys for the same asset, so neither could hit the other's cachedfile_idand the Settings → cache-stats card only ever reflected the notification side. Dropped the explicitcache_key—TelegramClientnow derives<host>:<uuid>from the URL on both paths, so onefile_idcached by any dispatch or/random//latestreply is reused by every later send. (7dae68f)
All Commits
- 7dae68f — fix(commands): match notification cache-key format so writes share one namespace (alexei.dolgolyov)