Don't call ap_url for comments, since they are based on posts URLs

This commit is contained in:
Bat 2018-09-09 16:22:58 +01:00
parent 54f6e7dfc6
commit b48d1694f3

View file

@ -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 {