Remove various outdated ifdefs

This commit is contained in:
Tobias Fella
2025-09-11 10:47:23 +02:00
parent 2504ca3f5c
commit c93ce52ba1
7 changed files with 0 additions and 61 deletions

View File

@@ -180,7 +180,6 @@ void Registration::testHomeserver()
if (m_testServerJob) {
delete m_testServerJob;
}
#if Quotient_VERSION_MINOR > 9 || Quotient_VERSION_PATCH > 2
auto ssoFlow = m_connection->getLoginFlow(LoginFlowTypes::SSO);
if (ssoFlow && ssoFlow->delegatedOidcCompatibility) {
auto session = m_connection->prepareForSso(u"NeoChat"_s);
@@ -214,7 +213,6 @@ void Registration::testHomeserver()
});
return;
}
#endif
m_testServerJob = m_connection->callApi<NeoChatRegisterJob>("user"_L1, std::nullopt, "user"_L1, QString(), QString(), QString(), false);
connect(m_testServerJob.data(), &BaseJob::finished, this, [this]() {