From 740e7a8c9fb4140c5eccd35bf4c78925754736db Mon Sep 17 00:00:00 2001 From: Tobias Fella Date: Wed, 10 Aug 2022 22:28:56 +0200 Subject: Emit Room::newFileTransfer when downloading a file --- lib/room.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'lib') 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); } -- cgit v1.2.3