let community_follower_form = CommunityFollowerForm {
community_id: community.id,
person_id: actor.id,
- pending: true,
+ pending: Some(true),
};
blocking(context.pool(), move |conn| {
CommunityFollower::follow(conn, &community_follower_form).ok()
let community_follower_form = CommunityFollowerForm {
community_id: community.id,
person_id: person.id,
- pending: false,
+ pending: Some(false),
};
// This will fail if they're already a follower, but ignore the error.