diff options
author | Tobias Fella <9750016+TobiasFella@users.noreply.github.com> | 2022-05-19 14:15:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-19 14:15:40 +0200 |
commit | 146c2f73a22be32033a4999fd722cb92dcdf3c2f (patch) | |
tree | fd454160e4c9695070bcaee246d90e2f7d92b7d8 /lib/room.cpp | |
parent | 41897df408c1398881bb8cf82ae0dc4503cefef7 (diff) | |
download | libquotient-146c2f73a22be32033a4999fd722cb92dcdf3c2f.tar.gz libquotient-146c2f73a22be32033a4999fd722cb92dcdf3c2f.zip |
Update lib/room.cpp
Co-authored-by: Alexey Rusakov <Kitsune-Ral@users.sf.net>
Diffstat (limited to 'lib/room.cpp')
-rw-r--r-- | lib/room.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/room.cpp b/lib/room.cpp index 3696f808..7a3c66b6 100644 --- a/lib/room.cpp +++ b/lib/room.cpp @@ -2522,7 +2522,7 @@ void Room::uploadFile(const QString& id, const QUrl& localFilename, Q_ASSERT_X(localFilename.isLocalFile(), __FUNCTION__, "localFilename should point at a local file"); auto fileName = localFilename.toLocalFile(); - Omittable<EncryptedFile> encryptedFile = std::nullopt; + Omittable<EncryptedFile> encryptedFile { none }; #ifdef Quotient_E2EE_ENABLED QTemporaryFile tempFile; if (usesEncryption()) { |