diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/connection.cpp | 4 |
1 files 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 |