From a6f1a1bd62dda9448fc9a9d8aae7276f754a0fa8 Mon Sep 17 00:00:00 2001 From: John Preston Date: Thu, 30 Dec 2021 23:57:12 +0300 Subject: [PATCH] Fix bottom info with author signature. Fixes #17464. --- Telegram/SourceFiles/history/view/history_view_bottom_info.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/history/view/history_view_bottom_info.cpp b/Telegram/SourceFiles/history/view/history_view_bottom_info.cpp index 539d4e2a1b..665ec53596 100644 --- a/Telegram/SourceFiles/history/view/history_view_bottom_info.cpp +++ b/Telegram/SourceFiles/history/view/history_view_bottom_info.cpp @@ -279,7 +279,7 @@ void BottomInfo::layoutDateText() { ? (tr::lng_edited(tr::now) + ' ') : QString(); const auto author = _data.author; - const auto prefix = author.isEmpty() ? qsl(", ") : QString(); + const auto prefix = !author.isEmpty() ? qsl(", ") : QString(); const auto date = edited + _data.date.toString(cTimeFormat()); _dateWidth = st::msgDateFont->width(date); const auto afterAuthor = prefix + date;