Don't call ap_url for comments, since they are based on posts URLs
This commit is contained in:
parent
54f6e7dfc6
commit
b48d1694f3
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user