aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Fella <fella@posteo.de>2022-02-27 14:11:28 +0100
committerTobias Fella <fella@posteo.de>2022-02-27 14:11:28 +0100
commitf159d5ec0caf75468c802ee997630af8f7fda02d (patch)
tree91f6804a8909152048596357d39e73666f22b347
parent458a0472bd0c6ea0a859c5e55ba5dd3d92ecec99 (diff)
downloadlibquotient-f159d5ec0caf75468c802ee997630af8f7fda02d.tar.gz
libquotient-f159d5ec0caf75468c802ee997630af8f7fda02d.zip
Apply suggestions
-rw-r--r--lib/connection.cpp4
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