Skip to content

Commit

Permalink
Version 5.10.3: Fix edit of album caption.
Browse files Browse the repository at this point in the history
  • Loading branch information
john-preston committed Jan 9, 2025
1 parent 798093c commit 48fb0f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Telegram/SourceFiles/history/view/history_view_message.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2975,7 +2975,7 @@ bool Message::getStateText(
} else if (const auto botTop = Get<FakeBotAboutTop>()) {
trect.setY(trect.y() + botTop->height);
}
const auto item = data();
const auto item = this->textItem();
if (base::in_range(point.y(), trect.y(), trect.y() + trect.height())) {
*outResult = TextState(item, text().getState(
point - trect.topLeft(),
Expand Down

1 comment on commit 48fb0f3

@Hassan09240
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

BPE9MK9NPU

Please sign in to comment.