Fix odd Windows-only compile error (#221)

This commit is contained in:
Ulyssa 2024-03-20 22:30:14 -07:00 committed by GitHub
parent 013214899a
commit c63f8d98d5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1311,7 +1311,7 @@ impl ClientWorker {
async fn logout(&mut self, user_id: String) -> IambResult<EditInfo> {
// 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})");