summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2021-07-22 12:00:14 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2021-07-22 12:00:14 +0200
commit5ae73bf8fd65c9d5897b7b87bb41513dc37171a3 (patch)
tree6e2083c5307588a04afdbef19b531816aa5390b5 /src
parentAdd suggested remote names to flatpak files (diff)
downloadnheko-5ae73bf8fd65c9d5897b7b87bb41513dc37171a3.tar.xz
Add trailing newline to session export to make gomuks happy
Diffstat (limited to 'src')
-rw-r--r--src/UserSettingsPage.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/UserSettingsPage.cpp b/src/UserSettingsPage.cpp

index ffaebe61..a062780a 100644 --- a/src/UserSettingsPage.cpp +++ b/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());