mirror of
https://github.com/mikedilger/chorus.git
synced 2026-08-01 07:21:39 +00:00
Don't require approval on kinds 0 and 3
This commit is contained in:
parent
4d300eb12a
commit
d258dd4110
@ -52,6 +52,11 @@ fn main() -> Result<(), Error> {
|
||||
continue;
|
||||
}
|
||||
|
||||
// Skip config data
|
||||
if event.kind() == Kind::from(3) || event.kind() == Kind::from(0) {
|
||||
continue;
|
||||
}
|
||||
|
||||
// Skip if the author is authorized user
|
||||
if config.user_keys.contains(&event.pubkey()) {
|
||||
continue;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user