send less subscription-required status updates

This commit is contained in:
Believethehype 2024-07-11 10:49:49 +02:00
parent 62bca3b28d
commit df0b0301fc
2 changed files with 4 additions and 4 deletions

View File

@ -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,

View File

@ -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')