From b48d1694f30fe2635e84ad7b1bc1fcbb501b7bbb Mon Sep 17 00:00:00 2001 From: Bat Date: Sun, 9 Sep 2018 16:22:58 +0100 Subject: [PATCH] Don't call ap_url for comments, since they are based on posts URLs --- plume-models/src/comments.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plume-models/src/comments.rs b/plume-models/src/comments.rs index e4baf5ed..08bf9321 100644 --- a/plume-models/src/comments.rs +++ b/plume-models/src/comments.rs @@ -95,7 +95,7 @@ impl Comment { } pub fn compute_id(&self, conn: &PgConnection) -> String { - ap_url(format!("{}comment/{}", self.get_post(conn).ap_url, self.id)) + format!("{}comment/{}", self.get_post(conn).ap_url, self.id) } pub fn into_activity(&self, conn: &PgConnection) -> Note {