aboutsummaryrefslogtreecommitdiff
path: root/azalea-client/src/account
diff options
context:
space:
mode:
Diffstat (limited to 'azalea-client/src/account')
-rw-r--r--azalea-client/src/account/microsoft.rs12
1 files changed, 6 insertions, 6 deletions
diff --git a/azalea-client/src/account/microsoft.rs b/azalea-client/src/account/microsoft.rs
index 22228eb9..ab31ee82 100644
--- a/azalea-client/src/account/microsoft.rs
+++ b/azalea-client/src/account/microsoft.rs
@@ -91,10 +91,10 @@ impl AccountTrait for MicrosoftAccount {
let access_token = self.access_token.lock().clone();
sessionserver::join(SessionServerJoinOpts {
access_token: &access_token,
- public_key: public_key,
- private_key: private_key,
+ public_key,
+ private_key,
uuid: &self.uuid(),
- server_id: &server_id,
+ server_id,
proxy,
})
.await
@@ -196,10 +196,10 @@ impl AccountTrait for MicrosoftWithAccessTokenAccount {
let access_token = self.access_token.lock().clone();
sessionserver::join(SessionServerJoinOpts {
access_token: &access_token,
- public_key: public_key,
- private_key: private_key,
+ public_key,
+ private_key,
uuid: &self.uuid(),
- server_id: &server_id,
+ server_id,
proxy,
})
.await