mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-23 03:18:49 +03:00
Fix linting
This commit is contained in:
parent
2d9f98a0b7
commit
4cb27f34f2
1 changed files with 3 additions and 3 deletions
|
@ -499,8 +499,8 @@ UserSettingsPage::importSessionKeys()
|
||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
auto sessions = mtx::crypto::decrypt_exported_sessions(
|
auto sessions =
|
||||||
payload, password.toStdString());
|
mtx::crypto::decrypt_exported_sessions(payload, password.toStdString());
|
||||||
cache::client()->importSessionKeys(std::move(sessions));
|
cache::client()->importSessionKeys(std::move(sessions));
|
||||||
} catch (const mtx::crypto::sodium_exception &e) {
|
} catch (const mtx::crypto::sodium_exception &e) {
|
||||||
QMessageBox::warning(this, tr("Error"), e.what());
|
QMessageBox::warning(this, tr("Error"), e.what());
|
||||||
|
|
Loading…
Reference in a new issue