diff options
Diffstat (limited to 'src/MxcImageProvider.cpp')
-rw-r--r-- | src/MxcImageProvider.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/MxcImageProvider.cpp b/src/MxcImageProvider.cpp index de8027c3..8d1ac01e 100644 --- a/src/MxcImageProvider.cpp +++ b/src/MxcImageProvider.cpp @@ -6,6 +6,7 @@ #include <optional> +#include <mtx/common.hpp> #include <mtxclient/crypto/client.hpp> #include <QByteArray> @@ -87,7 +88,7 @@ MxcImageProvider::requestImageResponse(const QString &id, const QSize &requested } void -MxcImageProvider::addEncryptionInfo(mtx::crypto::EncryptedFile info) +MxcImageProvider::addEncryptionInfo(const mtx::crypto::EncryptedFile &info) { infos.insert(QString::fromStdString(info.url), info); } |