From 84779561171e21773b38c7f91741e3d6090a2e24 Mon Sep 17 00:00:00 2001 From: John Preston Date: Mon, 15 Jul 2019 13:29:30 +0200 Subject: [PATCH] Fix emoji button. Fixes #6264. --- Telegram/SourceFiles/history/history_widget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/history/history_widget.cpp b/Telegram/SourceFiles/history/history_widget.cpp index c0f4306a9..beb0fd115 100644 --- a/Telegram/SourceFiles/history/history_widget.cpp +++ b/Telegram/SourceFiles/history/history_widget.cpp @@ -4740,7 +4740,7 @@ void HistoryWidget::updateHistoryGeometry(bool initial, bool loadedDown, const S newScrollHeight -= st::historyReplyHeight; } if (_contactStatus) { - newScrollHeight -= _contactStatus->height() - st::lineWidth; + newScrollHeight -= _contactStatus->height(); } if (!editingMessage() && (isBlocked() || isBotStart() || isJoinChannel() || isMuteUnmute())) { newScrollHeight -= _unblock->height();