diff options
| author | mat <git@matdoes.dev> | 2023-12-03 16:17:46 -0600 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2023-12-03 16:17:46 -0600 |
| commit | 3e168a33c9cab8f45363bf95cfa2b7228ec3c013 (patch) | |
| tree | b3ccdc0f003776b3a4e5170fba22fd23a1fd9227 /azalea-auth/src | |
| parent | a42161a203af3edeb96fbdb3bab8f832b4ccc6b5 (diff) | |
| download | azalea-drasl-3e168a33c9cab8f45363bf95cfa2b7228ec3c013.tar.xz | |
let plugins override query responses
Diffstat (limited to 'azalea-auth/src')
| -rwxr-xr-x | azalea-auth/src/sessionserver.rs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/azalea-auth/src/sessionserver.rs b/azalea-auth/src/sessionserver.rs index e6469cef..9c73fbf0 100755 --- a/azalea-auth/src/sessionserver.rs +++ b/azalea-auth/src/sessionserver.rs @@ -69,6 +69,15 @@ pub async fn join( private_key, )); + join_with_server_id_hash(&client, access_token, uuid, &server_hash).await +} + +pub async fn join_with_server_id_hash( + client: &reqwest::Client, + access_token: &str, + uuid: &Uuid, + server_hash: &str, +) -> Result<(), ClientSessionServerError> { let mut encode_buffer = Uuid::encode_buffer(); let undashed_uuid = uuid.simple().encode_lower(&mut encode_buffer); |
