diff --git a/nostr_dvm/dvm.py b/nostr_dvm/dvm.py index 2649439..ea5a10b 100644 --- a/nostr_dvm/dvm.py +++ b/nostr_dvm/dvm.py @@ -191,7 +191,7 @@ class DVM: if dvm_config.SEND_FEEDBACK_EVENTS: send_job_status_reaction(nip90_event, "processing", True, 0, - content=dvm_config.CUSTOM_PROCESSING_MESSAGE, + content=self.dvm_config.CUSTOM_PROCESSING_MESSAGE, client=self.client, dvm_config=self.dvm_config, user=user) # when we reimburse users on error make sure to not send anything if it was free @@ -219,7 +219,7 @@ class DVM: ". Starting processing.. Balance remains at: " + str(user.balance)) send_job_status_reaction(nip90_event, "processing", True, 0, - content=dvm_config.CUSTOM_PROCESSING_MESSAGE, + content=self.dvm_config.CUSTOM_PROCESSING_MESSAGE, client=self.client, dvm_config=self.dvm_config) do_work(nip90_event, amount) @@ -312,7 +312,7 @@ class DVM: if amount <= invoice_amount: print("[" + self.dvm_config.NIP89.NAME + "] Payment-request fulfilled...") send_job_status_reaction(job_event, "processing", client=self.client, - content=dvm_config.CUSTOM_PROCESSING_MESSAGE, + content=self.dvm_config.CUSTOM_PROCESSING_MESSAGE, dvm_config=self.dvm_config, user=user) indices = [i for i, x in enumerate(self.job_list) if x.event == job_event] @@ -660,6 +660,7 @@ class DVM: job.is_paid = True send_job_status_reaction(job.event, "processing", True, 0, + content=self.dvm_config.CUSTOM_PROCESSING_MESSAGE, client=self.client, dvm_config=self.dvm_config) print("[" + self.dvm_config.NIP89.NAME + "] doing work from joblist") diff --git a/nostr_dvm/tasks/content_discovery_currently_popular_followers.py b/nostr_dvm/tasks/content_discovery_currently_popular_followers.py index 3d8b605..9401541 100644 --- a/nostr_dvm/tasks/content_discovery_currently_popular_followers.py +++ b/nostr_dvm/tasks/content_discovery_currently_popular_followers.py @@ -247,8 +247,8 @@ def build_example(name, identifier, admin_config, processing_msg=None): nip89config.DTAG = check_and_set_d_tag(identifier, name, dvm_config.PRIVATE_KEY, nip89info["image"]) nip89config.CONTENT = json.dumps(nip89info) - admin_config.UPDATE_PROFILE = False - admin_config.REBROADCAST_NIP89 = False + # admin_config.UPDATE_PROFILE = False + # admin_config.REBROADCAST_NIP89 = False return DicoverContentCurrentlyPopularFollowers(name=name, dvm_config=dvm_config, nip89config=nip89config, admin_config=admin_config) diff --git a/setup.py b/setup.py index 328624d..d6be0bd 100644 --- a/setup.py +++ b/setup.py @@ -1,6 +1,6 @@ from setuptools import setup, find_packages -VERSION = '0.3.8' +VERSION = '0.3.9' DESCRIPTION = 'A framework to build and run Nostr NIP90 Data Vending Machines' LONG_DESCRIPTION = ('A framework to build and run Nostr NIP90 Data Vending Machines. See the github repository for more information')