diff --git a/Telegram/SourceFiles/storage/localimageloader.cpp b/Telegram/SourceFiles/storage/localimageloader.cpp index de870d7f47..b48ad1195c 100644 --- a/Telegram/SourceFiles/storage/localimageloader.cpp +++ b/Telegram/SourceFiles/storage/localimageloader.cpp @@ -39,7 +39,6 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL #include #include -#include namespace { @@ -181,10 +180,6 @@ struct PreparedFileThumbnail { return bytes; } - // We have an example of dark .png image that when being sent without - // removing its color space is displayed fine on tdesktop, but with - // a light gray background on mobile apps. - full.setColorSpace(QColorSpace()); auto result = QByteArray(); QBuffer buffer(&result); QImageWriter writer(&buffer, "JPEG"); diff --git a/Telegram/build/docker/centos_env/Dockerfile b/Telegram/build/docker/centos_env/Dockerfile index 64f8beae43..a711a2e49e 100644 --- a/Telegram/build/docker/centos_env/Dockerfile +++ b/Telegram/build/docker/centos_env/Dockerfile @@ -56,7 +56,7 @@ ENV CXXFLAGS $CFLAGS FROM builder AS patches RUN git clone {{ GIT }}/desktop-app/patches.git \ && cd patches \ - && git checkout b842feb5f8 \ + && git checkout 8edd80d889 \ && rm -rf .git FROM builder AS nasm diff --git a/Telegram/build/prepare/prepare.py b/Telegram/build/prepare/prepare.py index fb1978ae56..865f0b306d 100644 --- a/Telegram/build/prepare/prepare.py +++ b/Telegram/build/prepare/prepare.py @@ -397,7 +397,7 @@ if customRunCommand: stage('patches', """ git clone https://github.com/desktop-app/patches.git cd patches - git checkout b842feb5f8 + git checkout 8edd80d889 """) stage('msys64', """