Add trailing newline to session export to make gomuks happy
This commit is contained in:
parent
a2ec4a61c5
commit
5ae73bf8fd
@ -1399,7 +1399,7 @@ UserSettingsPage::exportSessionKeys()
|
|||||||
QString suffix("-----END MEGOLM SESSION DATA-----");
|
QString suffix("-----END MEGOLM SESSION DATA-----");
|
||||||
QString newline("\n");
|
QString newline("\n");
|
||||||
QTextStream out(&file);
|
QTextStream out(&file);
|
||||||
out << prefix << newline << b64 << newline << suffix;
|
out << prefix << newline << b64 << newline << suffix << newline;
|
||||||
file.close();
|
file.close();
|
||||||
} catch (const std::exception &e) {
|
} catch (const std::exception &e) {
|
||||||
QMessageBox::warning(this, tr("Error"), e.what());
|
QMessageBox::warning(this, tr("Error"), e.what());
|
||||||
|
Loading…
Reference in New Issue
Block a user