mirror of
https://github.com/believethehype/nostrdvm.git
synced 2025-09-29 13:52:38 +02:00
minor fixes/logs
This commit is contained in:
@@ -143,7 +143,7 @@ class DicoverContentCurrentlyPopularFollowers(DVMTaskInterface):
|
|||||||
if tag.as_vec()[0] == "p":
|
if tag.as_vec()[0] == "p":
|
||||||
following = PublicKey.parse(tag.as_vec()[1])
|
following = PublicKey.parse(tag.as_vec()[1])
|
||||||
followings.append(following)
|
followings.append(following)
|
||||||
|
print("[" + self.dvm_config.NIP89.NAME + "] Considering " + str(len(followings)) + " Followers")
|
||||||
filter1 = Filter().kind(definitions.EventDefinitions.KIND_NOTE).authors(followings).since(since)
|
filter1 = Filter().kind(definitions.EventDefinitions.KIND_NOTE).authors(followings).since(since)
|
||||||
events = self.client.database().query([filter1])
|
events = self.client.database().query([filter1])
|
||||||
print("[" + self.dvm_config.NIP89.NAME + "] Considering " + str(len(events)) + " Events")
|
print("[" + self.dvm_config.NIP89.NAME + "] Considering " + str(len(events)) + " Events")
|
||||||
|
@@ -393,10 +393,10 @@ def playground():
|
|||||||
admin_config_followers = AdminConfig()
|
admin_config_followers = AdminConfig()
|
||||||
admin_config_followers.REBROADCAST_NIP89 = rebbroadcast_NIP89
|
admin_config_followers.REBROADCAST_NIP89 = rebbroadcast_NIP89
|
||||||
admin_config_followers.UPDATE_PROFILE = False
|
admin_config_followers.UPDATE_PROFILE = False
|
||||||
admin_config_followers.DELETE_NIP89 = False
|
#admin_config_followers.DELETE_NIP89 = True
|
||||||
admin_config_followers.PRIVKEY = ""
|
#admin_config_followers.PRIVKEY = ""
|
||||||
admin_config_followers.EVENTID = ""
|
#admin_config_followers.EVENTID = ""
|
||||||
admin_config_followers.POW = True
|
#admin_config_followers.POW = True
|
||||||
custom_processing_msg = ["Processing popular notes from npubs you follow..",
|
custom_processing_msg = ["Processing popular notes from npubs you follow..",
|
||||||
"Let's see what npubs you follow have been up to..",
|
"Let's see what npubs you follow have been up to..",
|
||||||
"Processing a personalized feed, just for you.."]
|
"Processing a personalized feed, just for you.."]
|
||||||
|
Reference in New Issue
Block a user