From 5dcf341aaa3d32d73ac3748a6de66c0f568552a9 Mon Sep 17 00:00:00 2001 From: John Preston Date: Thu, 29 Jun 2017 15:27:24 +0300 Subject: [PATCH] Display "no users" in empty add participant box. --- Telegram/SourceFiles/profile/profile_channel_controllers.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Telegram/SourceFiles/profile/profile_channel_controllers.cpp b/Telegram/SourceFiles/profile/profile_channel_controllers.cpp index 19e7d7bea..4847de1ed 100644 --- a/Telegram/SourceFiles/profile/profile_channel_controllers.cpp +++ b/Telegram/SourceFiles/profile/profile_channel_controllers.cpp @@ -564,6 +564,8 @@ void AddParticipantBoxController::loadMoreRows() { } if (delegate()->peerListFullRowsCount() > 0) { setDescriptionText(QString()); + } else if (_allLoaded) { + setDescriptionText(lang(lng_blocked_list_not_found)); } delegate()->peerListRefreshRows(); }).fail([this](const RPCError &error) {