Commit c63f8d98d5

c63f8d98d503eda084eaf003ad68e414ac4f1e2c

parent: 013214899a

Unregistered key

Ulyssa <git@ulyssa.dev> · 2024-03-21 05:30 UTC
committer: <noreply@github.com>

Fix odd Windows-only compile error (#221)

Layout: unified · split

src/worker.rs +1 −1
@@ -1311,7 +1311,7 @@ impl ClientWorker {
1311 1311
1312 async fn logout(&mut self, user_id: String) -> IambResult<EditInfo> { 1312 async fn logout(&mut self, user_id: String) -> IambResult<EditInfo> {
1313 // Verify that the user is logging out of the correct profile. 1313 // Verify that the user is logging out of the correct profile.
1314 let curr = self.settings.profile.user_id.as_ref(); 1314 let curr = self.settings.profile.user_id.as_str();
1315 1315
1316 if user_id != curr { 1316 if user_id != curr {
1317 let msg = format!("Incorrect user ID (currently logged in as {curr})"); 1317 let msg = format!("Incorrect user ID (currently logged in as {curr})");