From 46cce57f6b9b0e810abbdf2e59f08c2ec4c22201 Mon Sep 17 00:00:00 2001 From: 23rd <23rd@vivaldi.net> Date: Sat, 6 Jun 2020 11:22:16 +0300 Subject: [PATCH] Removed display post views for sent forwarded scheduled messages. --- Telegram/SourceFiles/history/history_message.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/history/history_message.cpp b/Telegram/SourceFiles/history/history_message.cpp index 4bb7fc8b34..28fccf8513 100644 --- a/Telegram/SourceFiles/history/history_message.cpp +++ b/Telegram/SourceFiles/history/history_message.cpp @@ -555,7 +555,7 @@ HistoryMessage::HistoryMessage( const auto fwdViewsCount = original->viewsCount(); if (fwdViewsCount > 0) { config.viewsCount = fwdViewsCount; - } else if (isPost() + } else if ((isPost() && !isScheduled()) || (original->senderOriginal() && original->senderOriginal()->isChannel())) { config.viewsCount = 1;