cli: Fix id COB notifications in rad inbox

This commit is contained in:
cloudhead
2024-02-23 11:35:54 +01:00
parent eff40166c9
commit c63aaaceac
5 changed files with 86 additions and 5 deletions
+5
View File
@@ -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