mirror of
https://github.com/youwen5/iamb.git
synced 2025-06-20 13:49:52 -07:00
Fix odd Windows-only compile error (#221)
This commit is contained in:
parent
013214899a
commit
c63f8d98d5
1 changed files with 1 additions and 1 deletions
|
@ -1311,7 +1311,7 @@ impl ClientWorker {
|
||||||
|
|
||||||
async fn logout(&mut self, user_id: String) -> IambResult<EditInfo> {
|
async fn logout(&mut self, user_id: String) -> IambResult<EditInfo> {
|
||||||
// Verify that the user is logging out of the correct profile.
|
// 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 {
|
if user_id != curr {
|
||||||
let msg = format!("Incorrect user ID (currently logged in as {curr})");
|
let msg = format!("Incorrect user ID (currently logged in as {curr})");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue