friends fix
All checks were successful
Build and Test / puyopuyo (push) Successful in 3m26s
Build and Test / minecraft-wiiu (push) Successful in 3m57s
Build and Test / splatoon (push) Successful in 4m12s
Build and Test / wii-u-chat (push) Successful in 4m12s
Build and Test / splatoon-testfire (push) Successful in 4m20s
Build and Test / fast-racing-neo (push) Successful in 4m21s
Build and Test / mario-tennis (push) Successful in 4m21s
Build and Test / wii-sports-club (push) Successful in 4m21s
Build and Test / sonic-transformed (push) Successful in 4m27s
Build and Test / super-mario-maker (push) Successful in 4m44s
Build and Test / friends (push) Successful in 5m26s
All checks were successful
Build and Test / puyopuyo (push) Successful in 3m26s
Build and Test / minecraft-wiiu (push) Successful in 3m57s
Build and Test / splatoon (push) Successful in 4m12s
Build and Test / wii-u-chat (push) Successful in 4m12s
Build and Test / splatoon-testfire (push) Successful in 4m20s
Build and Test / fast-racing-neo (push) Successful in 4m21s
Build and Test / mario-tennis (push) Successful in 4m21s
Build and Test / wii-sports-club (push) Successful in 4m21s
Build and Test / sonic-transformed (push) Successful in 4m27s
Build and Test / super-mario-maker (push) Successful in 4m44s
Build and Test / friends (push) Successful in 5m26s
This commit is contained in:
parent
a5c6be381e
commit
84509aec2e
1 changed files with 2 additions and 2 deletions
|
|
@ -135,7 +135,7 @@ impl FriendsManager {
|
|||
}
|
||||
|
||||
impl FriendsManager {
|
||||
async fn accepts_friend_requests(&self, pid: PID) -> Result<bool, ErrorCode> {
|
||||
async fn denies_friend_requests(&self, pid: PID) -> Result<bool, ErrorCode> {
|
||||
query!("select principal_preference_block_friend_requests from nintendo_network_accounts where pid = $1", pid)
|
||||
.fetch_one(get_db())
|
||||
.await
|
||||
|
|
@ -801,7 +801,7 @@ impl FriendsWiiU for FriendsUser {
|
|||
unk1 = 0;
|
||||
unk2 = 1;
|
||||
|
||||
if !self.fm.accepts_friend_requests(friend).await? {
|
||||
if self.fm.denies_friend_requests(friend).await? {
|
||||
return Err(ErrorCode::FPD_FriendRequestNotAllowed);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue