mirror of
https://seed.radicle.dev/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5.git
synced 2026-11-13 06:50:46 +08:00
cli: Fix id COB notifications in rad inbox
This commit is contained in:
@@ -170,6 +170,11 @@ fn notify(
|
||||
// Don't notify about signed refs.
|
||||
continue;
|
||||
}
|
||||
if r == *git::refs::storage::IDENTITY_BRANCH {
|
||||
// Don't notify about the peers's identity branch pointer, since there will
|
||||
// be a separate notification on the identity COB itself.
|
||||
continue;
|
||||
}
|
||||
if let Some(rest) = r.strip_prefix(git::refname!("refs/heads/patches")) {
|
||||
if radicle::cob::ObjectId::from_str(rest.as_str()).is_ok() {
|
||||
// Don't notify about patch branches, since we already get
|
||||
|
||||
Reference in New Issue
Block a user