From c63f8d98d503eda084eaf003ad68e414ac4f1e2c Mon Sep 17 00:00:00 2001 From: Ulyssa Date: Wed, 20 Mar 2024 22:30:14 -0700 Subject: [PATCH] Fix odd Windows-only compile error (#221) --- src/worker.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/worker.rs b/src/worker.rs index c6dd3fc..7ffa13f 100644 --- a/src/worker.rs +++ b/src/worker.rs @@ -1311,7 +1311,7 @@ impl ClientWorker { async fn logout(&mut self, user_id: String) -> IambResult { // Verify that the user is logging out of the correct profile. - let curr = self.settings.profile.user_id.as_ref(); + let curr = self.settings.profile.user_id.as_str(); if user_id != curr { let msg = format!("Incorrect user ID (currently logged in as {curr})");