projects
/
lemmy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
87aa0ac
)
Fix compilation
author
Felix Ableitner
<me@nutomic.com>
Wed, 14 Jun 2023 09:34:29 +0000
(11:34 +0200)
committer
Felix Ableitner
<me@nutomic.com>
Wed, 14 Jun 2023 09:34:29 +0000
(11:34 +0200)
crates/routes/src/feeds.rs
patch
|
blob
|
history
diff --git
a/crates/routes/src/feeds.rs
b/crates/routes/src/feeds.rs
index cebf510ce541aaa5143f5992bd94606ca00d52f8..3b4c2cd77bbcf9879d5d5caa6d0134a2b0607be7 100644
(file)
--- a/
crates/routes/src/feeds.rs
+++ b/
crates/routes/src/feeds.rs
@@
-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,