Skip to content

Commit 48fb0f3

Browse files
committed
Version 5.10.3: Fix edit of album caption.
1 parent 798093c commit 48fb0f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Telegram/SourceFiles/history/view/history_view_message.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2975,7 +2975,7 @@ bool Message::getStateText(
29752975
} else if (const auto botTop = Get<FakeBotAboutTop>()) {
29762976
trect.setY(trect.y() + botTop->height);
29772977
}
2978-
const auto item = data();
2978+
const auto item = this->textItem();
29792979
if (base::in_range(point.y(), trect.y(), trect.y() + trect.height())) {
29802980
*outResult = TextState(item, text().getState(
29812981
point - trect.topLeft(),

0 commit comments

Comments
 (0)