diff --git a/backends/swiften/main.cpp b/backends/swiften/main.cpp index 424ce975..bb39465a 100644 --- a/backends/swiften/main.cpp +++ b/backends/swiften/main.cpp @@ -292,7 +292,7 @@ class SwiftenPlugin : public NetworkPlugin, Swift::XMPPParserClient { void handleLoginRequest(const std::string &user, const std::string &legacyName, const std::string &password) { LOG4CXX_INFO(logger, user << ": connecting as " << legacyName); - boost::shared_ptr client = boost::make_shared(Swift::JID(legacyName), password, m_factories); + boost::shared_ptr client = boost::make_shared(Swift::JID(legacyName + "/Spectrum"), password, m_factories); m_users[user] = client; client->setAlwaysTrustCertificates(); client->onConnected.connect(boost::bind(&SwiftenPlugin::handleSwiftConnected, this, user));