2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Support topic on-the-fly creation.

This commit is contained in:
John Preston
2022-10-04 19:34:45 +04:00
parent 065d2e2ac9
commit 3722e55b67
32 changed files with 447 additions and 130 deletions

View File

@@ -243,7 +243,7 @@ public:
void itemVisibilitiesUpdated();
struct IdChange {
not_null<HistoryItem*> item;
FullMsgId newId;
MsgId oldId = 0;
};
void notifyItemIdChange(IdChange event);
@@ -728,7 +728,7 @@ private:
not_null<Messages*> messagesListForInsert(PeerId peerId);
not_null<HistoryItem*> registerMessage(
std::unique_ptr<HistoryItem> item);
void changeMessageId(PeerId peerId, MsgId wasId, MsgId nowId);
HistoryItem *changeMessageId(PeerId peerId, MsgId wasId, MsgId nowId);
void removeDependencyMessage(not_null<HistoryItem*> item);
void photoApplyFields(