12 Commits

Author SHA1 Message Date
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
Isaac 6a89f938db [WIP] Saved messages 2024-01-06 00:43:58 +04:00
Ali 29a3c18d07 Thread improvements 2022-11-11 22:34:06 +04:00
Ali a28ed6a7dc Topic-related fixes 2022-10-25 19:12:18 +04:00
Ali f3caab5096 [WIP] Topics 2022-10-21 20:49:27 +04:00
Ali 2d6dc9ac13 [WIP] Topics 2022-10-18 18:32:01 +04:00
Ali 8838fe095c Loading state 2022-10-14 17:41:19 +04:00
Ali e6de19ca14 [WIP] Topics 2022-10-14 16:36:00 +04:00
Ali ddf208edfb [WIP] Topics 2022-10-14 01:21:57 +04:00
Ali db4b73ae6b [WIP] Topics 2022-10-11 18:38:58 +04:00
Ali b5a59ba488 [WIP] Topics 2022-10-01 00:08:07 +02:00
Ali d01a7853fa [WIP] Topic APIs 2022-09-28 12:15:06 +02:00