mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Version 2.1.1: Pin to top only new bots.
This commit is contained in:
@@ -2589,7 +2589,7 @@ bool History::useTopPromotion() const {
|
||||
} else if (const auto channel = peer->asChannel()) {
|
||||
return !isPinnedDialog(FilterId()) && !channel->amIn();
|
||||
} else if (const auto user = peer->asUser()) {
|
||||
return !isPinnedDialog(FilterId()) && user->isBot();
|
||||
return !isPinnedDialog(FilterId()) && user->isBot() && isEmpty();
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user