dev@locazia: add "confirm tx" message

This commit is contained in:
user committed 2024-03-08 22:58:48 +03:00
1 parent b80e070b4d
commit 836adaf7b2
6 files changed
+113 -29

No files matched your search

+7
View File
@@ -49,6 +49,13 @@ class StoredContent(AlchemyBase):
accept_type=self.meta.get('content_type', 'image/jpeg')
)
@property
def decrypt_possible(self) -> bool:
if self.encrypted is False:
return True
return bool(self.key_id or self.decrypted_content_id)
def json_format(self):
extra_fields = {}
if self.btfs_cid: