mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
New profile fixed top bar now is peer observer.
Multiple showAnimated() calls for SectionWidget are now allowed.
This commit is contained in:
@@ -198,6 +198,10 @@ const Text &BotCommand::descriptionText() const {
|
||||
return _descriptionText;
|
||||
}
|
||||
|
||||
bool UserData::canShareThisContact() const {
|
||||
return canShareThisContactFast() || !App::phoneFromSharedContact(peerToUser(id)).isEmpty();
|
||||
}
|
||||
|
||||
void UserData::setPhoto(const MTPUserProfilePhoto &p) { // see Local::readPeer as well
|
||||
PhotoId newPhotoId = photoId;
|
||||
ImagePtr newPhoto = _userpic;
|
||||
@@ -490,7 +494,7 @@ void ChannelData::flagsUpdated() {
|
||||
}
|
||||
} else if (mgInfo) {
|
||||
delete mgInfo;
|
||||
mgInfo = 0;
|
||||
mgInfo = nullptr;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user