mirror of
https://github.com/believethehype/nostrdvm.git
synced 2025-10-11 10:23:36 +02:00
allow hops param
This commit is contained in:
@@ -95,6 +95,9 @@ class DiscoverPeopleWOT(DVMTaskInterface):
|
|||||||
elif param == "user": # check for param type
|
elif param == "user": # check for param type
|
||||||
user = tag.as_vec()[2]
|
user = tag.as_vec()[2]
|
||||||
print(user)
|
print(user)
|
||||||
|
elif param == "hops": # check for param type
|
||||||
|
hops = int(tag.as_vec()[2])
|
||||||
|
print(hops)
|
||||||
|
|
||||||
options = {
|
options = {
|
||||||
"user": user,
|
"user": user,
|
||||||
|
Reference in New Issue
Block a user