aboutsummaryrefslogtreecommitdiff
path: root/lib/connection.cpp
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2020-04-15 11:02:03 +0200
committerKitsune Ral <Kitsune-Ral@users.sf.net>2020-04-15 13:07:06 +0200
commitb19a7c8b9786ad506ab208da4f0f5e76ff7daa74 (patch)
treeec9b8484ca0c2a171bba8ead008ea387a515aec5 /lib/connection.cpp
parent7ecc82079f85a7fa29f122fd2fd78401af0ee799 (diff)
downloadlibquotient-b19a7c8b9786ad506ab208da4f0f5e76ff7daa74.tar.gz
libquotient-b19a7c8b9786ad506ab208da4f0f5e76ff7daa74.zip
Connection: cleanup and reformat
Diffstat (limited to 'lib/connection.cpp')
-rw-r--r--lib/connection.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/connection.cpp b/lib/connection.cpp
index 229a6564..db61986a 100644
--- a/lib/connection.cpp
+++ b/lib/connection.cpp
@@ -334,8 +334,8 @@ void Connection::loginWithToken(const QByteArray& loginToken,
const QString& deviceId)
{
d->loginToServer(LoginFlows::Token.type,
- makeUserIdentifier(/*user is encoded in loginToken*/ {}),
- /*password*/ "", loginToken, deviceId, initialDeviceName);
+ none /*user is encoded in loginToken*/, "" /*password*/,
+ loginToken, deviceId, initialDeviceName);
}
void Connection::assumeIdentity(const QString& userId,