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

Display title and userpic of archived chats.

This commit is contained in:
John Preston
2019-04-16 12:50:59 +04:00
parent 9bf8a8108d
commit 76c3e9a529
19 changed files with 418 additions and 324 deletions

View File

@@ -306,27 +306,6 @@ void ChannelData::setAvailableMinId(MsgId availableMinId) {
}
}
}
// #TODO archive
//void ChannelData::setFeed(not_null<Data::Feed*> feed) {
// setFeedPointer(feed);
//}
//
//void ChannelData::clearFeed() {
// setFeedPointer(nullptr);
//}
//
//void ChannelData::setFeedPointer(Data::Feed *feed) {
// if (_feed != feed) {
// const auto was = _feed;
// _feed = feed;
// if (was) {
// was->unregisterOne(this);
// }
// if (_feed) {
// _feed->registerOne(this);
// }
// }
//}
bool ChannelData::canBanMembers() const {
return amCreator()