Add trailing newline to session export to make gomuks happy

pull/662/head
Nicolas Werner 3 years ago
parent a2ec4a61c5
commit 5ae73bf8fd
No known key found for this signature in database
GPG Key ID: C8D75E610773F2D9
  1. 2
      src/UserSettingsPage.cpp

@ -1399,7 +1399,7 @@ UserSettingsPage::exportSessionKeys()
QString suffix("-----END MEGOLM SESSION DATA-----");
QString newline("\n");
QTextStream out(&file);
out << prefix << newline << b64 << newline << suffix;
out << prefix << newline << b64 << newline << suffix << newline;
file.close();
} catch (const std::exception &e) {
QMessageBox::warning(this, tr("Error"), e.what());

Loading…
Cancel
Save