Fix common crash during login

This commit is contained in:
Tobias Fella
2025-07-31 23:23:50 +02:00
committed by Tobias Fella
parent 4f6dd50320
commit 7742c6d4b0

View File

@@ -85,6 +85,7 @@ void LoginHelper::init()
account.sync();
m_accountManager->addConnection(m_connection);
m_accountManager->setActiveConnection(m_connection);
disconnect(m_connection, nullptr, this, nullptr);
m_connection = nullptr;
});
connect(m_connection, &NeoChatConnection::networkError, this, [this](QString error, const QString &, int, int) {