oop
This commit is contained in:
1 parent
6fad5b1852
commit
3c242a7b77
1 file changed
+2
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user