mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-07 15:43:55 +02:00
Removed display post views for sent forwarded scheduled messages.
This commit is contained in:
parent
456244cdec
commit
46cce57f6b
1 changed files with 1 additions and 1 deletions
|
@ -555,7 +555,7 @@ HistoryMessage::HistoryMessage(
|
||||||
const auto fwdViewsCount = original->viewsCount();
|
const auto fwdViewsCount = original->viewsCount();
|
||||||
if (fwdViewsCount > 0) {
|
if (fwdViewsCount > 0) {
|
||||||
config.viewsCount = fwdViewsCount;
|
config.viewsCount = fwdViewsCount;
|
||||||
} else if (isPost()
|
} else if ((isPost() && !isScheduled())
|
||||||
|| (original->senderOriginal()
|
|| (original->senderOriginal()
|
||||||
&& original->senderOriginal()->isChannel())) {
|
&& original->senderOriginal()->isChannel())) {
|
||||||
config.viewsCount = 1;
|
config.viewsCount = 1;
|
||||||
|
|
Loading…
Add table
Reference in a new issue