aboutsummaryrefslogtreecommitdiff
path: root/src/client/QXmppIqHandling.h
diff options
context:
space:
mode:
authorLinus Jahn <lnj@kaidan.im>2023-03-17 17:24:52 +0100
committerLinus Jahn <lnj@kaidan.im>2023-03-17 17:24:52 +0100
commit55362b2e36f91282ccfbdd2bd5a9bba1d50c2002 (patch)
treea0d6193add779507821defb2ebe9e9f8d8405628 /src/client/QXmppIqHandling.h
parentd679ad1c49eeb28be2ac3a75bd7fd1a9be24d483 (diff)
parent1cf0a4aff856a1f3cab0f9750ee6b361691350a7 (diff)
downloadqxmpp-55362b2e36f91282ccfbdd2bd5a9bba1d50c2002.tar.gz
Merge branch '1.5'
Diffstat (limited to 'src/client/QXmppIqHandling.h')
-rw-r--r--src/client/QXmppIqHandling.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/client/QXmppIqHandling.h b/src/client/QXmppIqHandling.h
index 7535bc30..63eba306 100644
--- a/src/client/QXmppIqHandling.h
+++ b/src/client/QXmppIqHandling.h
@@ -95,12 +95,10 @@ namespace Private {
iq.parse(element);
iq.setE2eeMetadata(e2eeMetadata);
- processHandleIqResult(
- client,
- iq.id(),
- iq.from(),
- e2eeMetadata,
- invokeIqHandler(std::forward<Handler>(handler), std::move(iq)));
+ auto id = iq.id(), from = iq.from();
+
+ processHandleIqResult(client, id, from, e2eeMetadata,
+ invokeIqHandler(std::forward<Handler>(handler), std::move(iq)));
return true;
}
return false;