mirror of
https://github.com/mikedilger/gossip.git
synced 2024-09-19 03:33:53 +00:00
cargo fmt
This commit is contained in:
parent
e37b00caf6
commit
ac79ab3c6b
@ -397,10 +397,7 @@ impl Minion {
|
||||
// Posts made by the person
|
||||
filters.push(Filter {
|
||||
authors: vec![pubkey.clone()],
|
||||
kinds: vec![
|
||||
EventKind::TextNote,
|
||||
EventKind::EventDeletion,
|
||||
],
|
||||
kinds: vec![EventKind::TextNote, EventKind::EventDeletion],
|
||||
// No since, just a limit on quantity of posts
|
||||
limit: Some(25),
|
||||
..Default::default()
|
||||
@ -409,9 +406,7 @@ impl Minion {
|
||||
// Reactions to posts made by the person
|
||||
// (presuming people include a 'p' tag in their reactions)
|
||||
filters.push(Filter {
|
||||
kinds: vec![
|
||||
EventKind::Reaction
|
||||
],
|
||||
kinds: vec![EventKind::Reaction],
|
||||
p: vec![pubkey],
|
||||
// Limited in time just so we aren't overwhelmed. Generally we only need reactions
|
||||
// to their most recent posts. This is a very sloppy and approximate solution.
|
||||
|
@ -400,11 +400,7 @@ fn render_post_actual(
|
||||
let space = 100.0 * (10.0 - (1000.0 / (indent as f32 + 100.0)));
|
||||
ui.add_space(space);
|
||||
if indent > 0 {
|
||||
ui.label(
|
||||
RichText::new(format!("{}>", indent))
|
||||
.italics()
|
||||
.weak()
|
||||
);
|
||||
ui.label(RichText::new(format!("{}>", indent)).italics().weak());
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user