diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/user/UserShieldBlackAddCmdExe.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/user/UserShieldBlackAddCmdExe.java index 3a89bdea..cae0df52 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/user/UserShieldBlackAddCmdExe.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/user/UserShieldBlackAddCmdExe.java @@ -51,9 +51,8 @@ public class UserShieldBlackAddCmdExe { shieldBlackService.saveShieldBlack(cmd.requiredReqUserId() , cmd.getShieldUserId()); - if (shieldBlackService.checkShieldBlack(cmd.getShieldUserId(), cmd.requiredReqUserId())) { - relationshipFriendService.removeFriend(cmd.requiredReqUserId(), cmd.getShieldUserId()); - } + relationshipFriendService.removeFriend(cmd.requiredReqUserId(), cmd.getShieldUserId()); + relationshipFriendService.removeFriend(cmd.getShieldUserId(), cmd.requiredReqUserId()); // 拉黑房间 BaseInfo beBlackUser = baseInfoService.getById(cmd.getShieldUserId());