minor formatting tweak when posting to zulip
This commit is contained in:
parent
86aede7484
commit
837aeb0e22
1 changed files with 2 additions and 2 deletions
|
|
@ -275,7 +275,7 @@ impl BlogdorTheAggregator {
|
||||||
}
|
}
|
||||||
let active = active.join("\n");
|
let active = active.join("\n");
|
||||||
let inactive = inactive.join("\n");
|
let inactive = inactive.join("\n");
|
||||||
Ok(format!("{active}\n---\n{inactive}"))
|
Ok(format!("\n{active}\n---\n{inactive}"))
|
||||||
}
|
}
|
||||||
|
|
||||||
async fn remove_feed(&self, remove_request: &UserRequest) -> Result<String, String> {
|
async fn remove_feed(&self, remove_request: &UserRequest) -> Result<String, String> {
|
||||||
|
|
@ -422,7 +422,7 @@ impl BlogdorTheAggregator {
|
||||||
let tail = if body.len() <= ZULIP_MESSAGE_CUTOFF {
|
let tail = if body.len() <= ZULIP_MESSAGE_CUTOFF {
|
||||||
""
|
""
|
||||||
} else {
|
} else {
|
||||||
"[...]"
|
"..."
|
||||||
};
|
};
|
||||||
|
|
||||||
let url = post.post_url.as_str();
|
let url = post.post_url.as_str();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue