This commit is contained in:
2026-02-18 22:10:04 -05:00
parent 6fad5b1852
commit 3c242a7b77

View File

@@ -78,6 +78,7 @@ impl ClientHandler {
};
check_server_perms(check).await?;
let token = account_token(&self.db, info.perms);
self.db.account_tokens.insert(&token, &info.perms);
reply!(GenerateTokenResp { token });
}
ClientMsg::CreateAccount(info) => {
@@ -201,7 +202,7 @@ impl ClientHandler {
break;
}
}
reply!(AddFriendResp::Ok);
None
}
ClientMsg::RequestFriends(_) => {
let user = check_user().await?.1;