1
0
Fork 0
mirror of https://git.jami.net/savoirfairelinux/jami-client-qt.git synced 2025-08-04 06:45:45 +02:00

photobooth: don't save cropped image data to the profile vcard

Change-Id: Iab7e5b9f7f8128bed25b75256eb228588704fa5a
This commit is contained in:
Andreas Traczyk 2021-09-20 17:40:59 -04:00
parent 106a37e8aa
commit 68c1665a51

View file

@ -134,8 +134,7 @@ QString
PhotoboothPreviewRender::takePhoto(int size)
{
if (auto previewImage = lrcInstance_->renderer()->getPreviewFrame()) {
return Utils::byteArrayToBase64String(
Utils::QImageToByteArray(Utils::getCirclePhoto(previewImage->copy(), size)));
return Utils::byteArrayToBase64String(Utils::QImageToByteArray(previewImage->copy()));
}
return {};
}