diff options
author | Tobias Fella <fella@posteo.de> | 2022-08-10 22:28:56 +0200 |
---|---|---|
committer | Tobias Fella <fella@posteo.de> | 2022-08-10 22:28:56 +0200 |
commit | 740e7a8c9fb4140c5eccd35bf4c78925754736db (patch) | |
tree | 922544b1df2e12d41886e8251de4e21bb87adb29 | |
parent | 3214feeb031fa231c7c42c21c53410302966e32e (diff) | |
download | libquotient-740e7a8c9fb4140c5eccd35bf4c78925754736db.tar.gz libquotient-740e7a8c9fb4140c5eccd35bf4c78925754736db.zip |
Emit Room::newFileTransfer when downloading a file
-rw-r--r-- | lib/room.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/room.cpp b/lib/room.cpp index 7fd41a4f..c6fbb353 100644 --- a/lib/room.cpp +++ b/lib/room.cpp @@ -2551,6 +2551,7 @@ void Room::downloadFile(const QString& eventId, const QUrl& localFilename) connect(job, &BaseJob::failure, this, std::bind(&Private::failedTransfer, d, eventId, job->errorString())); + emit newFileTransfer(eventId, localFilename); } else d->failedTransfer(eventId); } |