2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-05 00:46:08 +00:00

Show reposts / forwards in story viewers.

This commit is contained in:
John Preston
2023-12-14 22:59:50 +00:00
parent 8e92778b62
commit d87a0a2d25
15 changed files with 188 additions and 39 deletions

View File

@@ -3416,7 +3416,7 @@ void Session::webpageApplyFields(
data.vid().v,
};
if (const auto embed = data.vstory()) {
story = stories().applyFromWebpage(
story = stories().applySingle(
peerFromMTP(data.vpeer()),
*embed);
} else if (const auto maybe = stories().lookup(storyId)) {