aboutsummaryrefslogtreecommitdiff
path: root/lib/connection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/connection.cpp')
-rw-r--r--lib/connection.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/connection.cpp b/lib/connection.cpp
index 41ecee67..229a6564 100644
--- a/lib/connection.cpp
+++ b/lib/connection.cpp
@@ -312,9 +312,10 @@ inline UserIdentifier make3rdPartyIdentifier(const QString& medium,
{ QStringLiteral("address"), address } } };
}
-void Connection::connectToServer(const QString& userId, const QString& password,
- const QString& initialDeviceName,
- const QString& deviceId)
+void Connection::loginWithPassword(const QString& userId,
+ const QString& password,
+ const QString& initialDeviceName,
+ const QString& deviceId)
{
checkAndConnect(userId, [=] {
d->loginToServer(LoginFlows::Password.type, makeUserIdentifier(userId),