diff options
Diffstat (limited to 'src/bin/ngit/sub_commands')
| -rw-r--r-- | src/bin/ngit/sub_commands/list.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bin/ngit/sub_commands/list.rs b/src/bin/ngit/sub_commands/list.rs index b7bfd24..ee015ef 100644 --- a/src/bin/ngit/sub_commands/list.rs +++ b/src/bin/ngit/sub_commands/list.rs | |||
| @@ -77,9 +77,9 @@ pub async fn launch() -> Result<()> { | |||
| 77 | .iter() | 77 | .iter() |
| 78 | .filter(|e| { | 78 | .filter(|e| { |
| 79 | status_kinds().contains(&e.kind) | 79 | status_kinds().contains(&e.kind) |
| 80 | && e.tags | 80 | && e.tags.iter().any(|t| { |
| 81 | .iter() | 81 | t.as_slice().len() > 1 && t.as_slice()[1].eq(&proposal.id.to_string()) |
| 82 | .any(|t| t.as_slice()[1].eq(&proposal.id.to_string())) | 82 | }) |
| 83 | }) | 83 | }) |
| 84 | .collect::<Vec<&nostr::Event>>() | 84 | .collect::<Vec<&nostr::Event>>() |
| 85 | .first() | 85 | .first() |