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 {
13111311
13121312 async fn logout(&mut self, user_id: String) -> IambResult<EditInfo> {
13131313 // 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();
13151315
13161316 if user_id != curr {
13171317 let msg = format!("Incorrect user ID (currently logged in as {curr})");