From 7c98dee29ba146ee19db7ccd6460d128cf4dee43 Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Fri, 1 Nov 2024 12:49:16 -0400 Subject: [PATCH] MediaThumbnailJob: Look for the correct spec version for auth media It is supposed to be "v1.11", "1.11" is not a valid version and thus this would always use the old media endpoints. --- Quotient/jobs/mediathumbnailjob.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Quotient/jobs/mediathumbnailjob.cpp b/Quotient/jobs/mediathumbnailjob.cpp index 24a1275dc..8407683bb 100644 --- a/Quotient/jobs/mediathumbnailjob.cpp +++ b/Quotient/jobs/mediathumbnailjob.cpp @@ -22,7 +22,7 @@ QUrl MediaThumbnailJob::makeRequestUrl(const HomeserverData& hsData, const QStri std::optional animated) { QT_IGNORE_DEPRECATIONS( // For GetContentThumbnailJob - return hsData.checkMatrixSpecVersion(u"1.11") + return hsData.checkMatrixSpecVersion(u"v1.11") ? GetContentThumbnailAuthedJob::makeRequestUrl(hsData, serverName, mediaId, requestedSize.width(), requestedSize.height(),