2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Request history parts through Histories.

This commit is contained in:
John Preston
2020-02-21 15:51:37 +04:00
parent 818f5cd004
commit 6f672ecdc3
11 changed files with 282 additions and 195 deletions

View File

@@ -2480,7 +2480,7 @@ void History::setFakeChatListMessage() {
if (const auto chat = peer->asChat()) {
// In chats we try to take the item before the 'last', which
// is the empty-displayed migration message.
session().api().requestFakeChatListMessage(this);
owner().histories().requestFakeChatListMessage(this);
} else if (const auto from = migrateFrom()) {
// In megagroups we just try to use
// the message from the original group.