mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-22 20:31:19 +00:00
Fix compilation
This commit is contained in:
parent
87aa0acaf1
commit
f3f95e5d2f
1 changed files with 1 additions and 4 deletions
|
@ -415,10 +415,7 @@ fn create_reply_and_mention_items(
|
||||||
let mut mention_items: Vec<Item> = mentions
|
let mut mention_items: Vec<Item> = mentions
|
||||||
.iter()
|
.iter()
|
||||||
.map(|m| {
|
.map(|m| {
|
||||||
let mention_url = format!(
|
let mention_url = format!("{}/comment/{}", protocol_and_hostname, m.comment.id);
|
||||||
"/comment/{}",
|
|
||||||
protocol_and_hostname, m.post.id, m.comment.id
|
|
||||||
);
|
|
||||||
build_item(
|
build_item(
|
||||||
&m.creator.name,
|
&m.creator.name,
|
||||||
&m.comment.published,
|
&m.comment.published,
|
||||||
|
|
Loading…
Reference in a new issue