Fix linting

This commit is contained in:
redsky17 2019-04-04 22:24:21 +00:00
parent 2d9f98a0b7
commit 4cb27f34f2
No known key found for this signature in database
GPG Key ID: E8A1D78EF044B0CB
1 changed files with 3 additions and 3 deletions

View File

@ -499,8 +499,8 @@ UserSettingsPage::importSessionKeys()
}
try {
auto sessions = mtx::crypto::decrypt_exported_sessions(
payload, password.toStdString());
auto sessions =
mtx::crypto::decrypt_exported_sessions(payload, password.toStdString());
cache::client()->importSessionKeys(std::move(sessions));
} catch (const mtx::crypto::sodium_exception &e) {
QMessageBox::warning(this, tr("Error"), e.what());