diff --git a/plume-models/src/follows.rs b/plume-models/src/follows.rs index 8f597d83..5d6beb43 100644 --- a/plume-models/src/follows.rs +++ b/plume-models/src/follows.rs @@ -265,7 +265,9 @@ impl AsObject07 for User { fn activity07(self, conn: &DbConn, actor: User, id: &str) -> Result { // Mastodon (at least) requires the full Follow object when accepting it, // so we rebuilt it here - let follow = FollowAct07::new(id.parse::()?, actor.ap_url.parse::()?); + let mut follow = + FollowAct07::new(id.parse::()?, actor.ap_url.parse::()?); + follow.set_id(id.parse::()?); Follow::accept_follow07(conn, &actor, &self, follow, actor.id, self.id) } }