mirror of
https://github.com/J3vb/OwnCord.git
synced 2026-09-03 03:50:00 +03:00
* refactor(ws): gather visibility and permission refresh into hub_visibility.go Pure move of the visibility responsibility from the three files it was spread across: the channelReadAudience family, RefreshChannelVisibility, refreshChannelVisibilityCanSend, RefreshAllChannelVisibility and revokeUnreadableChannels from hub_broadcast.go; computeAllowedChannels from serve.go; bumpVisibilityWatermark and MarkVisibilityChanged from hub.go. Normalized-diff residue: the new file's scaffolding plus duplicates of five imports the sources keep (context, fmt, db, log/slog, sync/atomic); the permissions import moved outright (out of hub_broadcast.go and serve.go, into hub_visibility.go). No identifier changed. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01B8dwVLEihnGZYtH9X631F4 * docs(boundaries,b3): re-measure after the visibility gather hub_visibility.go gains its DBImportAllow row; hub_broadcast.go's row shrinks to the member/presence payload reads. Table regenerated, counts and ratchet wording brought current (27 -> 28 move rows, zero new calls), re-measurement header dated. Split-PR-3 evidence block appended to the B3 plan; README B3 row advanced. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01B8dwVLEihnGZYtH9X631F4 --------- Co-authored-by: Claude <noreply@anthropic.com>