diff --git a/src/libtomahawk/accounts/configstorage/telepathy/TelepathyConfigStorage.cpp b/src/libtomahawk/accounts/configstorage/telepathy/TelepathyConfigStorage.cpp index 2e1e7b9c8..b738639f6 100644 --- a/src/libtomahawk/accounts/configstorage/telepathy/TelepathyConfigStorage.cpp +++ b/src/libtomahawk/accounts/configstorage/telepathy/TelepathyConfigStorage.cpp @@ -69,7 +69,7 @@ Tomahawk::Accounts::TelepathyConfigStorage::onTpAccountManagerReady( Tp::Pending { if ( acc->protocolName() == "jabber" ) { - m_accountIds << acc->objectPath(); + m_accountIds << telepathyPathToAccountId( acc->objectPath() ); keychainIds << acc->uniqueIdentifier(); } } @@ -94,11 +94,6 @@ Tomahawk::Accounts::TelepathyConfigStorage::onCredentialsManagerReady( const QSt //no need to listen for it any more disconnect( this, SLOT( onCredentialsManagerReady( QString ) ) ); - for ( int i = 0; i < m_accountIds.length(); ++i ) - { - m_accountIds[ i ] = telepathyPathToAccountId( m_accountIds[ i ] ); - } - emit ready(); }