refactor: extract NostrFilter
This commit is contained in:
parent
6be0169ea9
commit
2ebc83a286
9 changed files with 132 additions and 128 deletions
|
|
@ -1,11 +1,10 @@
|
|||
import time
|
||||
from typing import Callable, Optional, Tuple
|
||||
|
||||
from .event import NostrEvent
|
||||
|
||||
from ..crud import get_account, get_storage_for_public_key, prune_old_events
|
||||
from ..helpers import extract_domain
|
||||
from ..models import NostrAccount, RelaySpec
|
||||
from .event import NostrEvent
|
||||
|
||||
|
||||
class EventValidator:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue