From 3260e9e7524b31074cce07ee1d59b0da93fe87dc Mon Sep 17 00:00:00 2001 From: John Preston Date: Mon, 4 May 2020 19:15:10 +0400 Subject: [PATCH] Add a separate string for empty channel admin log. --- .../SourceFiles/history/admin_log/history_admin_log_inner.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/history/admin_log/history_admin_log_inner.cpp b/Telegram/SourceFiles/history/admin_log/history_admin_log_inner.cpp index a12e49c37..0a8a5149f 100644 --- a/Telegram/SourceFiles/history/admin_log/history_admin_log_inner.cpp +++ b/Telegram/SourceFiles/history/admin_log/history_admin_log_inner.cpp @@ -488,7 +488,9 @@ void InnerWidget::updateEmptyText() { TextUtilities::Clean(_searchQuery)) : hasFilter ? tr::lng_admin_log_no_results_text(tr::now) - : tr::lng_admin_log_no_events_text(tr::now); + : _channel->isMegagroup() + ? tr::lng_admin_log_no_events_text(tr::now) + : tr::lng_admin_log_no_events_text_channel(tr::now); text.text.append(qstr("\n\n") + description); _emptyText.setMarkedText(st::defaultTextStyle, text, options); }