fix(channels): reflect shared deep-queue state in the full-history chip

deep_requested is per-subscription, but deep backfill is channel-wide and shared:
once any subscriber requests full history, the whole back-catalog arrives for
everyone. The chip only looked at the current user's flag, so a second subscriber
saw a misleading 'get full history' on a channel already queued by someone else.
Add a channel-level deep_in_queue to /api/channels and show an informational
'full history queued' badge (vs the owner's cancelable button) in that case.
This commit is contained in:
npeter83 2026-06-12 02:29:10 +02:00
parent 0bba654ec5
commit d06fff0550
3 changed files with 39 additions and 14 deletions

View file

@ -176,6 +176,7 @@ export interface ManagedChannel {
priority: number;
hidden: boolean;
deep_requested: boolean;
deep_in_queue: boolean;
tag_ids: number[];
details_synced: boolean;
recent_synced: boolean;