diff options
-rw-r--r-- | Swiften/Client/CoreClient.cpp | 5 | ||||
-rw-r--r-- | Swiften/Client/CoreClient.h | 1 |
2 files changed, 0 insertions, 6 deletions
diff --git a/Swiften/Client/CoreClient.cpp b/Swiften/Client/CoreClient.cpp index ed9302d..8658168 100644 --- a/Swiften/Client/CoreClient.cpp +++ b/Swiften/Client/CoreClient.cpp @@ -50,11 +50,6 @@ void CoreClient::connect() { connect(jid_.getDomain()); } -void CoreClient::connect(const JID& jid) { - jid_ = jid; - connect(); -} - void CoreClient::connect(const String& host) { disconnectRequested_ = false; assert(!connector_); diff --git a/Swiften/Client/CoreClient.h b/Swiften/Client/CoreClient.h index 146e219..a0c7092 100644 --- a/Swiften/Client/CoreClient.h +++ b/Swiften/Client/CoreClient.h @@ -71,7 +71,6 @@ namespace Swift { */ void disconnect(); - void connect(const JID& jid); void connect(const String& host); /** |