Fix emoji button.

Fixes #6264.
This commit is contained in:
John Preston 2019-07-15 13:29:30 +02:00
parent 77b8d56c03
commit 8477956117

View file

@ -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();