1
0
Fork 0
mirror of https://git.jami.net/savoirfairelinux/jami-client-qt.git synced 2025-08-11 10:15:40 +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) PhotoboothPreviewRender::takePhoto(int size)
{ {
if (auto previewImage = lrcInstance_->renderer()->getPreviewFrame()) { if (auto previewImage = lrcInstance_->renderer()->getPreviewFrame()) {
return Utils::byteArrayToBase64String( return Utils::byteArrayToBase64String(Utils::QImageToByteArray(previewImage->copy()));
Utils::QImageToByteArray(Utils::getCirclePhoto(previewImage->copy(), size)));
} }
return {}; return {};
} }