mirror of
https://github.com/believethehype/nostrdvm.git
synced 2025-04-08 11:58:04 +02:00
Update search_users.py
This commit is contained in:
parent
d8549b1e0f
commit
046bd3de67
@ -72,9 +72,6 @@ class SearchUser(DVMTaskInterface):
|
||||
# default values
|
||||
search = ""
|
||||
max_results = 100
|
||||
relay = "wss://relay.nostr.band"
|
||||
if self.options["relay"]:
|
||||
relay = self.options["relay"]
|
||||
|
||||
for tag in event.tags():
|
||||
if tag.as_vec()[0] == 'i':
|
||||
@ -89,7 +86,6 @@ class SearchUser(DVMTaskInterface):
|
||||
options = {
|
||||
"search": search,
|
||||
"max_results": max_results,
|
||||
"relay": relay
|
||||
}
|
||||
request_form['options'] = json.dumps(options)
|
||||
return request_form
|
||||
|
Loading…
x
Reference in New Issue
Block a user