summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/Queries/Request.cpp')
-rw-r--r--Swiften/Queries/Request.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Swiften/Queries/Request.cpp b/Swiften/Queries/Request.cpp
index 422f36c..40c8f60 100644
--- a/Swiften/Queries/Request.cpp
+++ b/Swiften/Queries/Request.cpp
@@ -24,5 +24,5 @@ Request::Request(IQ::Type type, const JID& sender, const JID& receiver, IQRouter
}
-void Request::send() {
+std::string Request::send() {
assert(payload_);
assert(!sent_);
@@ -44,4 +44,5 @@ void Request::send() {
router_->sendIQ(iq);
+ return id_;
}