mirror of
https://github.com/redlib-org/redlib.git
synced 2025-04-05 05:57:40 +03:00
Collapse (sticky) bot comments by default. (#321)
* Collapse bot comments by default. Comments are considered bot comments if they are posted by a moderator and are stickied. Some false positives are expected. * Remove unneeded String conversion Co-authored-by: spikecodes <19519553+spikecodes@users.noreply.github.com>
This commit is contained in:
parent
34ea679519
commit
731a407466
3 changed files with 11 additions and 1 deletions
|
@ -334,6 +334,7 @@ pub struct Comment {
|
|||
pub edited: (String, String),
|
||||
pub replies: Vec<Comment>,
|
||||
pub highlighted: bool,
|
||||
pub collapsed: bool,
|
||||
}
|
||||
|
||||
#[derive(Template)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue