Fix compilation

pull/3002/head
Felix Ableitner 2023-06-14 11:34:29 +02:00
parent 87aa0acaf1
commit f3f95e5d2f
1 changed files with 1 additions and 4 deletions

View File

@ -415,10 +415,7 @@ fn create_reply_and_mention_items(
let mut mention_items: Vec<Item> = mentions
.iter()
.map(|m| {
let mention_url = format!(
"/comment/{}",
protocol_and_hostname, m.post.id, m.comment.id
);
let mention_url = format!("{}/comment/{}", protocol_and_hostname, m.comment.id);
build_item(
&m.creator.name,
&m.comment.published,