mirror of
https://github.com/mikedilger/chorus.git
synced 2026-01-03 06:15:33 +00:00
rename 'listbannedevents2' to 'fetchbannedevents'
This commit is contained in:
parent
ffcbb20d74
commit
5af424ae80
@ -135,7 +135,7 @@ pub fn handle_inner(pubkey: Pubkey, command: Value) -> Result<Option<Value>, Err
|
||||
|
||||
"listallowedevents",
|
||||
"listbannedevents",
|
||||
"listbannedevents2",
|
||||
"fetchbannedevents",
|
||||
"listallowedpubkeys",
|
||||
"listbannedpubkeys",
|
||||
|
||||
@ -288,7 +288,7 @@ pub fn handle_inner(pubkey: Pubkey, command: Value) -> Result<Option<Value>, Err
|
||||
"result": ids
|
||||
})))
|
||||
}
|
||||
"listbannedevents2" => {
|
||||
"fetchbannedevents" => {
|
||||
let approvals = crate::dump_event_approvals()?;
|
||||
let mut results: Vec<FullEventResult> = Vec::new();
|
||||
for (id, appr) in approvals.iter() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user