From 96860be1beddb7bbe8457328bca4f49f0b0f35f5 Mon Sep 17 00:00:00 2001 From: Kitaiti Makoto Date: Sun, 8 May 2022 18:00:42 +0900 Subject: [PATCH] Fix Follow::accept_follow() --- plume-models/src/follows.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plume-models/src/follows.rs b/plume-models/src/follows.rs index ee7e4587..c74b90a1 100644 --- a/plume-models/src/follows.rs +++ b/plume-models/src/follows.rs @@ -98,7 +98,8 @@ impl Follow { follower_id: from_id, following_id: target_id, ap_url: follow - .id_unchecked() + .object_field_ref() + .as_single_id() .ok_or(Error::MissingApProperty)? .to_string(), },