diff --git a/Telegram/SourceFiles/history/view/history_view_message.cpp b/Telegram/SourceFiles/history/view/history_view_message.cpp index 68254ed4d..a62b49d9a 100644 --- a/Telegram/SourceFiles/history/view/history_view_message.cpp +++ b/Telegram/SourceFiles/history/view/history_view_message.cpp @@ -1868,7 +1868,6 @@ Reactions::ButtonParameters Message::reactionButtonParameters( : (QPoint(contentRect.width(), innerHeight) + st::reactionCornerCenter)); if (reactionState.itemId != result.context) { - const auto top = marginTop(); if (!contentRect.contains(position)) { return {}; }