mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Move some calls from App namespace.
This commit is contained in:
@@ -179,7 +179,7 @@ void PeerData::setUserpic(
|
||||
|
||||
void PeerData::setUserpicPhoto(const MTPPhoto &data) {
|
||||
const auto photoId = data.match([&](const MTPDphoto &data) {
|
||||
const auto photo = owner().photo(data);
|
||||
const auto photo = owner().processPhoto(data);
|
||||
photo->peer = this;
|
||||
return photo->id;
|
||||
}, [](const MTPDphotoEmpty &data) {
|
||||
|
Reference in New Issue
Block a user