From b19a7c8b9786ad506ab208da4f0f5e76ff7daa74 Mon Sep 17 00:00:00 2001 From: Kitsune Ral Date: Wed, 15 Apr 2020 11:02:03 +0200 Subject: Connection: cleanup and reformat --- lib/connection.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/connection.cpp') 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, -- cgit v1.2.3