diff options
Diffstat (limited to 'src/bin/git_remote_nostr')
| -rw-r--r-- | src/bin/git_remote_nostr/utils.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bin/git_remote_nostr/utils.rs b/src/bin/git_remote_nostr/utils.rs index d0b4e7e..563c0d8 100644 --- a/src/bin/git_remote_nostr/utils.rs +++ b/src/bin/git_remote_nostr/utils.rs | |||
| @@ -131,6 +131,7 @@ pub async fn get_open_or_draft_proposals( | |||
| 131 | && e.tags.iter().any(|t| { | 131 | && e.tags.iter().any(|t| { |
| 132 | t.as_slice().len() > 1 && t.as_slice()[1].eq(&proposal.id.to_string()) | 132 | t.as_slice().len() > 1 && t.as_slice()[1].eq(&proposal.id.to_string()) |
| 133 | }) | 133 | }) |
| 134 | && (proposal.pubkey.eq(&e.pubkey) || repo_ref.maintainers.contains(&e.pubkey)) | ||
| 134 | }) | 135 | }) |
| 135 | .collect::<Vec<&nostr::Event>>() | 136 | .collect::<Vec<&nostr::Event>>() |
| 136 | .first() | 137 | .first() |