server api send friend request force参数错误

This commit is contained in:
heavyrain2012
2021-06-19 11:34:20 +08:00
parent c1d2c77837
commit ec03b4632a
@@ -47,7 +47,7 @@ public class AddFriendRequestAction extends AdminAction {
byteBuf.writeBytes(result); byteBuf.writeBytes(result);
ErrorCode errorCode = ErrorCode.fromCode(byteBuf.readByte()); ErrorCode errorCode = ErrorCode.fromCode(byteBuf.readByte());
return new Result(errorCode); return new Result(errorCode);
}, input.isForce()); }, !input.isForce());
return false; return false;
} }
return true; return true;