aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/mxcreply.cpp4
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