aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTobias Fella <fella@posteo.de>2022-08-10 22:28:56 +0200
committerTobias Fella <fella@posteo.de>2022-08-10 22:28:56 +0200
commit740e7a8c9fb4140c5eccd35bf4c78925754736db (patch)
tree922544b1df2e12d41886e8251de4e21bb87adb29 /lib
parent3214feeb031fa231c7c42c21c53410302966e32e (diff)
downloadlibquotient-740e7a8c9fb4140c5eccd35bf4c78925754736db.tar.gz
libquotient-740e7a8c9fb4140c5eccd35bf4c78925754736db.zip
Emit Room::newFileTransfer when downloading a file
Diffstat (limited to 'lib')
-rw-r--r--lib/room.cpp1
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);
}