Merge remote-tracking branch 'tdesktop/dev' into dev
This commit is contained in:
commit
451cc00d20
2 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit 966cf4d23d9fbd6437744f8f90a92970f05513e5
|
||||
Subproject commit 0ca2b761c6cbc34b07966b6cb97a20eb5d8f35a0
|
||||
Loading…
Add table
Reference in a new issue