diff options
author | Remko Tronçon <git@el-tramo.be> | 2010-11-01 14:50:17 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2010-11-03 12:17:41 (GMT) |
commit | 210accbcb135a9551cb56e5197a3a5acf8d15f49 (patch) | |
tree | d330a827ff3f531ab01ab2bb3b8f047a477702c0 /Swiften/Disco/DiscoInfoResponder.cpp | |
parent | 9d9fb66aefef85a1c5ad432391014d15011747d1 (diff) | |
download | swift-contrib-210accbcb135a9551cb56e5197a3a5acf8d15f49.zip swift-contrib-210accbcb135a9551cb56e5197a3a5acf8d15f49.tar.bz2 |
Added JIDDiscoInfoResponder + Added "to" parameter to responder callback.
Diffstat (limited to 'Swiften/Disco/DiscoInfoResponder.cpp')
-rw-r--r-- | Swiften/Disco/DiscoInfoResponder.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Swiften/Disco/DiscoInfoResponder.cpp b/Swiften/Disco/DiscoInfoResponder.cpp index 2e686c7..0254ad9 100644 --- a/Swiften/Disco/DiscoInfoResponder.cpp +++ b/Swiften/Disco/DiscoInfoResponder.cpp @@ -28,7 +28,7 @@ void DiscoInfoResponder::setDiscoInfo(const String& node, const DiscoInfo& info) nodeInfo_[node] = newInfo; } -bool DiscoInfoResponder::handleGetRequest(const JID& from, const String& id, boost::shared_ptr<DiscoInfo> info) { +bool DiscoInfoResponder::handleGetRequest(const JID& from, const JID&, const String& id, boost::shared_ptr<DiscoInfo> info) { if (info->getNode().isEmpty()) { sendResponse(from, id, boost::shared_ptr<DiscoInfo>(new DiscoInfo(info_))); } |