summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/Client/Client.cpp')
-rw-r--r--Swiften/Client/Client.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/Swiften/Client/Client.cpp b/Swiften/Client/Client.cpp
index 5d04a92..60dfade 100644
--- a/Swiften/Client/Client.cpp
+++ b/Swiften/Client/Client.cpp
@@ -24,6 +24,10 @@ Client::~Client() {
delete connectionFactory_;
}
+bool Client::isAvailable() {
+ return session_;
+}
+
void Client::connect() {
DomainNameResolver resolver;
try {