From df0b0301fcfd0cf2869f5400a6c1f204ba6341f5 Mon Sep 17 00:00:00 2001 From: Believethehype <1097224+believethehype@users.noreply.github.com> Date: Thu, 11 Jul 2024 10:49:49 +0200 Subject: [PATCH] send less subscription-required status updates --- nostr_dvm/dvm.py | 6 +++--- setup.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/nostr_dvm/dvm.py b/nostr_dvm/dvm.py index 2e5d76f..22572d1 100644 --- a/nostr_dvm/dvm.py +++ b/nostr_dvm/dvm.py @@ -150,9 +150,9 @@ class DVM: # otherwise we check for an active subscription by checking recipie events else: print("[" + self.dvm_config.NIP89.NAME + "] Checking Subscription status") - await send_job_status_reaction(nip90_event, "subscription-required", True, amount, self.client, - "I Don't have information about subscription status, checking on the Nostr. This might take a few seconds", - self.dvm_config) + #await send_job_status_reaction(nip90_event, "subscription-required", True, amount, self.client, + # "I Don't have information about subscription status, checking on the Nostr. This might take a few seconds", + # self.dvm_config) subscription_status = await nip88_has_active_subscription(PublicKey.parse(user.npub), self.dvm_config.NIP88.DTAG, diff --git a/setup.py b/setup.py index d58cdb3..a2a664d 100644 --- a/setup.py +++ b/setup.py @@ -1,6 +1,6 @@ from setuptools import setup, find_packages -VERSION = '0.7.0' +VERSION = '0.7.1' 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')