mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Display channels promoted by proxy on top.
This commit is contained in:
@@ -386,7 +386,11 @@ void Filler::addChannelActions(not_null<ChannelData*> channel) {
|
||||
|
||||
void Filler::fill() {
|
||||
if (_source == PeerMenuSource::ChatsList) {
|
||||
addPinToggle();
|
||||
if (const auto history = App::historyLoaded(_peer)) {
|
||||
if (!history->useProxyPromotion()) {
|
||||
addPinToggle();
|
||||
}
|
||||
}
|
||||
}
|
||||
if (showInfo()) {
|
||||
addInfo();
|
||||
|
Reference in New Issue
Block a user