20 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 fd68aed766 Auth improvements 2026-03-27 11:24:08 +01:00
Ilya Laktyushin 2fb17b827b Various fixes 2026-02-28 13:55:20 +04:00
Ilya Laktyushin ad3b5bb0d8 Various fixes 2026-02-27 20:42:49 +04:00
Ilya Laktyushin ad73bdf08c Various fixes 2026-02-27 19:44:46 +04:00
Ilya Laktyushin 8005514986 Various fixes 2026-02-27 18:52:13 +04:00
Ilya Laktyushin ddd724a5af Various fixes 2026-02-27 01:29:16 +04:00
Ilya Laktyushin 9fe004a7ec Various improvements 2026-02-25 02:08:33 +04:00
Ilya Laktyushin 654ff9e7e0 Various improvements 2026-02-24 21:44:29 +04:00
Ilya Laktyushin aec6a54b5d Update localization 2026-02-24 19:12:54 +04:00
Ilya Laktyushin e24d411efa Various fixes 2026-02-24 16:34:29 +04:00
Ilya Laktyushin d9d1210c1d Various improvements 2026-02-19 21:53:26 +04:00
Ilya Laktyushin 9616ea2ad9 Update API 2026-02-13 14:09:36 +04:00
Ilya Laktyushin bbad57434f Various fixes 2026-02-02 15:54:43 +04:00
Ilya Laktyushin 226200c8c9 Various improvements 2026-02-02 04:11:51 +04:00
Ilya Laktyushin f58bf2e724 Various improvements 2026-01-30 20:46:03 +04:00
Ilya Laktyushin 75627b036a Various improvements 2026-01-30 18:55:05 +04:00
Ilya Laktyushin 809958df3b Update localization 2026-01-28 22:11:45 +04:00
Ilya Laktyushin 142d59cf8f Various improvements 2026-01-27 22:24:31 +04:00
Ilya Laktyushin 0d12dd29ad Various improvements 2026-01-25 22:17:49 +04:00