2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Don't allow reordering of the archive.

This commit is contained in:
John Preston
2019-04-18 15:31:30 +04:00
parent 74c65f30f7
commit 518ff146b2
13 changed files with 62 additions and 43 deletions

View File

@@ -472,7 +472,7 @@ void Filler::addChannelActions(not_null<ChannelData*> channel) {
void Filler::fill() {
if (_source == PeerMenuSource::ChatsList) {
if (const auto history = _peer->owner().historyLoaded(_peer)) {
if (!history->useProxyPromotion()) {
if (!history->fixedOnTopIndex()) {
addPinToggle();
}
}