summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/Queries/IQRouter.cpp')
-rw-r--r--Swiften/Queries/IQRouter.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/Swiften/Queries/IQRouter.cpp b/Swiften/Queries/IQRouter.cpp
index b20d344..ffed5f7 100644
--- a/Swiften/Queries/IQRouter.cpp
+++ b/Swiften/Queries/IQRouter.cpp
@@ -19,6 +19,10 @@ IQRouter::IQRouter(IQChannel* channel) : channel_(channel), queueRemoves_(false)
IQRouter::~IQRouter() {
}
+bool IQRouter::isAvailable() {
+ return channel_->isAvailable();
+}
+
void IQRouter::handleIQ(boost::shared_ptr<IQ> iq) {
queueRemoves_ = true;