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

Fix story mention text updating.

This commit is contained in:
John Preston
2023-07-20 20:49:46 +04:00
parent 150957abcd
commit 68fa3e36d7
4 changed files with 18 additions and 5 deletions

View File

@@ -3917,6 +3917,11 @@ void Session::refreshStoryItemViews(FullStoryId id) {
const auto i = _storyItems.find(id);
if (i != _storyItems.end()) {
for (const auto item : i->second) {
if (const auto media = item->media()) {
if (media->storyMention()) {
item->updateStoryMentionText();
}
}
requestItemViewRefresh(item);
}
}