aboutsummaryrefslogtreecommitdiff
path: root/lib/room.cpp
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2019-08-29 12:36:34 +0900
committerGitHub <noreply@github.com>2019-08-29 12:36:34 +0900
commit3b6959ab8ca5cd8d55c2e4627eb9a61dfb2506ff (patch)
tree90c8f7c0c754e3a20dadc7296374bed940f005c6 /lib/room.cpp
parentc27916e7f96860659c5cfd7d311f6b10db3d592f (diff)
parentaf0f7e3ae58c1f28baa9fe1385d70eefbacc0e8a (diff)
downloadlibquotient-3b6959ab8ca5cd8d55c2e4627eb9a61dfb2506ff.tar.gz
libquotient-3b6959ab8ca5cd8d55c2e4627eb9a61dfb2506ff.zip
Merge pull request #348 from quotient-im/kitsune-better-basejob
Better BaseJob
Diffstat (limited to 'lib/room.cpp')
-rw-r--r--lib/room.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/room.cpp b/lib/room.cpp
index d47af49f..2c9fca63 100644
--- a/lib/room.cpp
+++ b/lib/room.cpp
@@ -1440,7 +1440,7 @@ QString Room::Private::doSendEvent(const RoomEvent* pEvent)
connection->callApi<SendMessageJob>(BackgroundRequest, id,
pEvent->matrixType(), txnId,
pEvent->contentJson())) {
- Room::connect(call, &BaseJob::started, q, [this, txnId] {
+ Room::connect(call, &BaseJob::sentRequest, q, [this, txnId] {
auto it = q->findPendingEvent(txnId);
if (it == unsyncedEvents.end()) {
qWarning(EVENTS) << "Pending event for transaction" << txnId