diff --git a/crates/nostr/src/event/kind.rs b/crates/nostr/src/event/kind.rs index 160b239d0..135541167 100644 --- a/crates/nostr/src/event/kind.rs +++ b/crates/nostr/src/event/kind.rs @@ -138,7 +138,10 @@ impl Kind { /// Check if [`Kind`] is `Replaceable` pub fn is_replaceable(&self) -> bool { - REPLACEABLE_RANGE.contains(&self.as_u64()) + matches!(self, Kind::Metadata) + || matches!(self, Kind::ContactList) + || matches!(self, Kind::ChannelMetadata) + || REPLACEABLE_RANGE.contains(&self.as_u64()) } /// Check if [`Kind`] is `Ephemeral`