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

Don't use MTP* for replies data.

This commit is contained in:
John Preston
2021-10-07 22:52:27 +04:00
parent bef35b9bc3
commit d532b65d1c
7 changed files with 89 additions and 74 deletions

View File

@@ -106,7 +106,8 @@ void ViewsManager::done(
item->setForwardsCount(forwards->v);
}
if (const auto replies = data.vreplies()) {
item->setReplies(*replies);
item->setReplies(
HistoryMessageRepliesData(replies));
}
});
}