14 Commits
Author SHA1 Message Date
isaacandClaude Opus 4.7 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 ed55943a44 Various improvements 2026-03-27 01:13:38 +01:00
Ilya Laktyushin 0d12dd29ad Various improvements 2026-01-25 22:17:49 +04:00
Isaac 3a1d85784e Various improvements 2026-01-06 21:20:16 +08:00
Ilya Laktyushin 59f2f7389a Merge branch 'master' of gitlab.com:peter-iakovlev/telegram-ios 2025-12-22 00:48:28 +04:00
Ilya Laktyushin 2edce5ebf2 Alerts 2025-12-22 00:19:11 +04:00
Isaac 3486393f99 Glass 2025-12-20 03:02:08 +08:00
Isaac 3b02aeae9d Update localization 2025-12-02 22:15:52 +08:00
Isaac 62d29ee551 Passkeys 2025-12-02 19:59:39 +08:00
Isaac 2e279e8fd3 Temp 2025-12-02 19:30:48 +08:00
Isaac 765aa49f41 Passkeys 2025-12-02 17:01:07 +08:00
Isaac 2967648b2b Update icons 2025-12-02 01:51:40 +08:00
Isaac 8f1c9019be Passkeys 2025-12-02 01:43:04 +08:00
Isaac 95ecb88025 Passkeys 2025-11-19 00:07:50 +08:00