19 Commits
Author SHA1 Message Date
Ilya Laktyushin 7a7333edab Various improvements 2026-05-05 14:57:06 +02:00
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 bbad57434f Various fixes 2026-02-02 15:54:43 +04:00
Ilya Laktyushin f59abe1689 Various improvements 2025-06-10 22:11:07 +02:00
Ilya Laktyushin 2454a7a876 Various improvements 2025-03-18 14:39:58 +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
Ilya Laktyushin d0156faede Various improvements 2024-08-10 18:41:17 +02:00
Ilya Laktyushin 4216ee3933 Various improvements 2024-07-13 18:13:58 +04:00
Isaac 9a075fa39e Refactoring 2024-06-12 23:04:04 +04:00
Ilya Laktyushin 891fed3189 Add story stealth mode shortcut in chat list 2024-04-23 02:51:25 +04:00
Ilya Laktyushin f81856351a Various improvements 2024-03-28 13:23:23 +04:00
Ilya Laktyushin d4e0dd8ef9 Various improvements 2024-03-27 16:09:52 +04:00
Ilya Laktyushin 18557ed075 Improve ad report navigation 2024-03-26 17:30:53 +04:00
Ilya Laktyushin 9bb28dcc26 Various fixes 2024-03-26 17:22:00 +04:00
Ilya Laktyushin 2253fa1550 Various improvements 2024-03-26 14:23:18 +04:00
Ilya Laktyushin 3173ac48d3 Various fixes 2024-03-26 04:11:22 +04:00
Ilya Laktyushin 9166178440 Various improvements 2024-03-24 15:14:58 +04:00
Ilya Laktyushin cb7560a34e [WIP] Birthdays 2024-03-22 12:08:27 +04:00