Telegram-iOS/submodules/Postbox
isaac 3bb22d503c Postbox -> TelegramEngine wave 16a: move EngineMessageHistoryThread to TelegramCore
Promote Postbox's internal MutableMessageHistoryThreadIndexView.Item to a
public top-level type MessageHistoryThreadIndexItem; drop Postbox's empty
EngineMessageHistoryThread namespace class and its nested Item.

MessageHistoryThreadIndexView.items is now [MessageHistoryThreadIndexItem]
directly (no wrap/unwrap step in the init). The two consumer iteration
sites (ChatListNodeLocation.swift, ShareControllerNode.swift) don't need
changes -- they iterate without type annotation and only read fields that
exist on both the old nested Item and the new top-level type.

Collapse TelegramCore's public extension EngineMessageHistoryThread into
a proper class definition:
public final class EngineMessageHistoryThread { class Info { ... } }.

After this, EngineMessageHistoryThread is a pure TelegramCore type --
consumers that only use EngineMessageHistoryThread.Info no longer need
import Postbox for the outer name to resolve.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-20 21:26:32 +02:00
..
Sources Postbox -> TelegramEngine wave 16a: move EngineMessageHistoryThread to TelegramCore 2026-04-20 21:26:32 +02:00
.gitignore Add 'submodules/Postbox/' from commit '534443c710' 2019-06-11 18:56:39 +01:00
.gitmodules Add 'submodules/Postbox/' from commit '534443c710' 2019-06-11 18:56:39 +01:00
BUILD Don't perform directory mapping if the total size does not exceed the limit 2023-01-09 00:35:14 +04:00
Package.swift update submodules to 10.13 2023-09-29 10:42:08 +04:00