mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-30 22:16:14 +00:00
Added ability to set profile photo from camera.
This commit is contained in:
@@ -66,7 +66,7 @@ void SetupPhoto(
|
||||
auto callback = [=](QImage &&image) {
|
||||
self->session().api().peerPhoto().upload(self, std::move(image));
|
||||
};
|
||||
Editor::PrepareProfilePhoto(
|
||||
Editor::PrepareProfilePhotoFromFile(
|
||||
upload,
|
||||
&controller->window(),
|
||||
std::move(callback));
|
||||
|
Reference in New Issue
Block a user