From b2d6c737dbca4ac1ebdbe9dd354e18c23343816b Mon Sep 17 00:00:00 2001 From: Believethehype <1097224+believethehype@users.noreply.github.com> Date: Thu, 11 Jul 2024 10:55:44 +0200 Subject: [PATCH] further reduce subscription status updates --- nostr_dvm/dvm.py | 4 ++-- setup.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/nostr_dvm/dvm.py b/nostr_dvm/dvm.py index 22572d1..bf77a05 100644 --- a/nostr_dvm/dvm.py +++ b/nostr_dvm/dvm.py @@ -133,8 +133,8 @@ class DVM: # If this is a subscription DVM and the Task is directed to us, check for active subscription if dvm_config.NIP88 is not None and p_tag_str == self.dvm_config.PUBLIC_KEY: - await send_job_status_reaction(nip90_event, "subscription-required", True, amount, self.client, - "Checking Subscription Status, please wait..", self.dvm_config) + #await send_job_status_reaction(nip90_event, "subscription-required", True, amount, self.client, + # "Checking Subscription Status, please wait..", self.dvm_config) # if we stored in the database that the user has an active subscription, we don't need to check it print("User Subscription: " + str(user.subscribed) + " Current time: " + str( Timestamp.now().as_secs())) diff --git a/setup.py b/setup.py index a2a664d..ab6fbb0 100644 --- a/setup.py +++ b/setup.py @@ -1,6 +1,6 @@ from setuptools import setup, find_packages -VERSION = '0.7.1' +VERSION = '0.7.2' 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')