11 Commits

Author SHA1 Message Date
isaac b20cd3502b Postbox -> TelegramEngine waves 11-14: stateManager collapse + BUILD-dep sweep
Wave 11: ActionSheetPeerItem de-Postboxed. Revisits wave-1 abandonment.
`postbox: Postbox, network: Network` init params collapse to
`stateManager: AccountStateManager`; avatar setPeer call routes via
`item.stateManager.postbox` / `.network`. Module never names Postbox.
Sole caller (ShareController.swift:1146) migrated in place.

Wave 12: HorizontalPeerItem de-Postboxed (same pattern). Ripples the
collapse up into ChatListSearchRecentPeersNode's public init
(`postbox:/network:` -> `stateManager:`). That module still imports
Postbox for PostboxViewKey/UnreadMessageCountsView internals but its
public surface simplifies. 3 external caller sites migrated.

Wave 13: AttachmentTextInputPanelNode minor cleanup. Module was already
Postbox-free at source level (wave 6) but carried a dead BUILD dep and
had 2 raw `peerId?.namespace == Namespaces.Peer.SecretChat` checks.
Both now use existing `PeerId.isSecretChat` extension in TelegramCore.

Wave 14: BUILD-dep sweep mirroring wave 6's source sweep. 98 modules
had `//submodules/Postbox:Postbox` (or `//submodules/Postbox`) BUILD
deps despite no source file importing Postbox since wave 6. Single
iteration, zero restores -- Bazel Swift requires source-level `import`
for symbol resolution, so redundant BUILD deps are pure metadata.

Net: 110 files, +116/-149. Build verified green (debug_sim_arm64).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-20 20:26:58 +02:00
Ilya Laktyushin bbad57434f Various fixes 2026-02-02 15:54:43 +04:00
Ilya Laktyushin 0d12dd29ad Various improvements 2026-01-25 22:17:49 +04:00
Isaac 0c3530d8a8 Glass 2025-12-10 00:16:36 +08:00
Ilya Laktyushin 4432581c77 Various improvements 2025-10-31 18:13:30 +04:00
Ilya Laktyushin c014d0b333 Various improvements 2025-10-22 21:12:38 +04:00
Ilya Laktyushin 62517683ad Various improvements 2024-10-05 01:05:29 +04:00
Ilya Laktyushin 7a0f7adb22 Update localization 2024-09-27 00:07:33 +04:00
Ilya Laktyushin 23fa85770d Various fixes 2024-09-26 20:38:11 +04:00
Ilya Laktyushin a1b70a7070 Merge branch 'master' of gitlab.com:peter-iakovlev/telegram-ios 2024-09-25 17:05:24 +04:00
Ilya Laktyushin 1a3f7dc42d Content reporting 2024-09-24 17:26:51 +04:00