aboutsummaryrefslogtreecommitdiff
path: root/lib/mxcreply.cpp
diff options
context:
space:
mode:
authorTobias Fella <fella@posteo.de>2021-12-24 01:47:52 +0100
committerTobias Fella <fella@posteo.de>2021-12-24 01:47:52 +0100
commit31bb962f36c31621b311f1aee654e36ea09e8d77 (patch)
treecb0b35acdc8cc2f57be61bbf4f79ae994bc49a64 /lib/mxcreply.cpp
parent1176ec1eedb749e81e3d446733c267a971feefa4 (diff)
downloadlibquotient-31bb962f36c31621b311f1aee654e36ea09e8d77.tar.gz
libquotient-31bb962f36c31621b311f1aee654e36ea09e8d77.zip
Fix reading unencrypted images
Diffstat (limited to 'lib/mxcreply.cpp')
-rw-r--r--lib/mxcreply.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/mxcreply.cpp b/lib/mxcreply.cpp
index 2ad49c2c..c7f27b0c 100644
--- a/lib/mxcreply.cpp
+++ b/lib/mxcreply.cpp
@@ -29,6 +29,7 @@ public:
MxcReply::MxcReply(QNetworkReply* reply)
: d(std::make_unique<Private>(reply))
{
+ d->m_device = d->m_reply;
reply->setParent(this);
connect(d->m_reply, &QNetworkReply::finished, this, [this]() {
setError(d->m_reply->error(), d->m_reply->errorString());