Show proper version
This commit is contained in:
parent
fdfbc5dc78
commit
468f8b2a01
1 changed files with 1 additions and 1 deletions
|
@ -122,7 +122,7 @@ Component::Component(Swift::EventLoop *loop, Swift::NetworkFactories *factories,
|
|||
else {
|
||||
LOG4CXX_INFO(logger, "Creating component in gateway mode");
|
||||
m_component = new Swift::Component(loop, m_factories, m_jid, CONFIG_STRING(m_config, "service.password"));
|
||||
m_component->setSoftwareVersion("", "");
|
||||
m_component->setSoftwareVersion("Spectrum", SPECTRUM_VERSION);
|
||||
m_component->onConnected.connect(bind(&Component::handleConnected, this));
|
||||
m_component->onError.connect(boost::bind(&Component::handleConnectionError, this, _1));
|
||||
m_component->onDataRead.connect(boost::bind(&Component::handleDataRead, this, _1));
|
||||
|
|
Loading…
Add table
Reference in a new issue