renaming, fixes, client with opts

This commit is contained in:
Believethehype
2023-11-23 13:30:09 +01:00
parent 417acde9c4
commit 5ccdfd2671
9 changed files with 68 additions and 43 deletions

View File

@@ -29,13 +29,12 @@ class Translation(DVMTaskInterface):
self.NAME = name
self.PK = dvm_config.PRIVATE_KEY
dvm_config.SUPPORTED_TASKS = [self]
dvm_config.SUPPORTED_DVMS = [self]
dvm_config.DB = "db/" + self.NAME + ".db"
dvm_config.NIP89 = self.NIP89_announcement(nip89d_tag, nip89info)
self.dvm_config = dvm_config
self.admin_config = admin_config
def is_input_supported(self, input_type, input_content):
if input_type != "event" and input_type != "job" and input_type != "text":
return False