diff options
author | Callum Brown <callum@calcuode.com> | 2021-08-15 15:51:10 +0100 |
---|---|---|
committer | Callum Brown <callum@calcuode.com> | 2021-08-15 15:51:10 +0100 |
commit | 0da58c476c05c3ec52fe69609b741d06938c9521 (patch) | |
tree | f44a0bef27f96f18c6df03fe95bfe7fc7de5452b /src | |
parent | Fix cancel button on registration token dialog (diff) | |
download | nheko-0da58c476c05c3ec52fe69609b741d06938c9521.tar.xz |
Run linter
Diffstat (limited to 'src')
-rw-r--r-- | src/RegisterPage.cpp | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/RegisterPage.cpp b/src/RegisterPage.cpp index ddd4d47d..fb6a1b97 100644 --- a/src/RegisterPage.cpp +++ b/src/RegisterPage.cpp @@ -492,12 +492,13 @@ RegisterPage::doUIA(const mtx::user_interactive::Unauthorized &unauthorized) QString(), &ok); - if (ok) { - emit registrationWithAuth(mtx::user_interactive::Auth{ - session, mtx::user_interactive::auth::RegistrationToken{token.toStdString()}}); - } else { - emit errorOccurred(); - } + if (ok) { + emit registrationWithAuth(mtx::user_interactive::Auth{ + session, + mtx::user_interactive::auth::RegistrationToken{token.toStdString()}}); + } else { + emit errorOccurred(); + } } else { // use fallback auto dialog = new dialogs::FallbackAuth( |