This commit is contained in:
user 2024-04-05 14:56:33 +03:00
parent 4125b6ef62
commit ad9e4b2d56
1 changed files with 2 additions and 1 deletions

View File

@ -12,9 +12,10 @@ class PlayerTemplates:
content_type, content_encoding = 'application', 'x-binary'
cd_log = ""
template_kwargs = {}
inline_keyboard_array = []
text = ""
if content:
assert content.type.startswith('onchain/content'), "Invalid nodeStorage content type"
inline_keyboard_array = []
cd_log = f"Content (SHA256: {content.hash}), Encrypted: {content.encrypted}, TelegramCID: {content.telegram_cid}. "
if not content.encrypted:
local_content = content