From f159d5ec0caf75468c802ee997630af8f7fda02d Mon Sep 17 00:00:00 2001 From: Tobias Fella Date: Sun, 27 Feb 2022 14:11:28 +0100 Subject: Apply suggestions --- lib/connection.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/connection.cpp b/lib/connection.cpp index ec1c13f5..24951b42 100644 --- a/lib/connection.cpp +++ b/lib/connection.cpp @@ -2162,12 +2162,12 @@ QStringList Connection::devicesForUser(User* user) const QString Connection::curveKeyForUserDevice(const QString& user, const QString& device) const { - return d->deviceKeys[user][device].keys[QStringLiteral("curve25519:") + device]; + return d->deviceKeys[user][device].keys["curve25519:" % device]; } QString Connection::edKeyForUserDevice(const QString& user, const QString& device) const { - return d->deviceKeys[user][device].keys[QStringLiteral("ed25519:") + device]; + return d->deviceKeys[user][device].keys["ed25519:" % device]; } #endif -- cgit v1.2.3