diff options
author | Alexey Rusakov <Kitsune-Ral@users.sf.net> | 2022-03-12 12:45:17 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-12 12:45:17 +0100 |
commit | 3c8e76869fd4f814a9e56a0e4e8f803b309aee61 (patch) | |
tree | e733ec0233765cbc566d355e960dc82ead8e72ca | |
parent | b865be5ad72b3996bf072268d061d7466bf4623a (diff) | |
parent | 494099a4b51b4d537a40a89c9d642fe3bd61e559 (diff) | |
download | libquotient-3c8e76869fd4f814a9e56a0e4e8f803b309aee61.tar.gz libquotient-3c8e76869fd4f814a9e56a0e4e8f803b309aee61.zip |
Merge #543: Fix loading images when E2EE is disabled
-rw-r--r-- | lib/mxcreply.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/mxcreply.cpp b/lib/mxcreply.cpp index 1d40c5e1..b757bb93 100644 --- a/lib/mxcreply.cpp +++ b/lib/mxcreply.cpp @@ -54,11 +54,11 @@ MxcReply::MxcReply(QNetworkReply* reply, Room* room, const QString &eventId) buffer->open(ReadOnly); d->m_device = buffer; } - setOpenMode(ReadOnly); - emit finished(); #else d->m_device = d->m_reply; #endif + setOpenMode(ReadOnly); + emit finished(); }); #ifdef Quotient_E2EE_ENABLED |