From f55584b160329536503804c70095780fc32b8cd8 Mon Sep 17 00:00:00 2001 From: 23rd <23rd@vivaldi.net> Date: Mon, 29 Jul 2024 10:03:50 +0300 Subject: [PATCH] Fixed position of click handler for via bot header in message view. --- Telegram/SourceFiles/history/view/history_view_message.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Telegram/SourceFiles/history/view/history_view_message.cpp b/Telegram/SourceFiles/history/view/history_view_message.cpp index 4c6d4970d..e1d67952e 100644 --- a/Telegram/SourceFiles/history/view/history_view_message.cpp +++ b/Telegram/SourceFiles/history/view/history_view_message.cpp @@ -2406,10 +2406,10 @@ TextState Message::textState( if (getStateForwardedInfo(point, trect, &result, request)) { return result; } - if (getStateReplyInfo(point, trect, &result)) { + if (getStateViaBotIdInfo(point, trect, &result)) { return result; } - if (getStateViaBotIdInfo(point, trect, &result)) { + if (getStateReplyInfo(point, trect, &result)) { return result; } }