fixes
This commit is contained in:
parent
ddbd004633
commit
952c45f4c2
|
|
@ -231,12 +231,12 @@ async def indexer_loop(memory, platform_found: bool, seqno: int) -> [bool, int]:
|
|||
and_(
|
||||
KnownTelegramMessage.chat_id == user.telegram_id,
|
||||
KnownTelegramMessage.type == 'hint',
|
||||
KnownTelegramMessage.meta.contains({'encrypted_content_hash': encrypted_stored_content.hash})
|
||||
KnownTelegramMessage.meta.contains({'encrypted_content_hash': encrypted_stored_content.hash}),
|
||||
KnownTelegramMessage.deleted == False
|
||||
)
|
||||
):
|
||||
).all():
|
||||
await user_uploader_wrapper.delete_message(hint_message.message_id)
|
||||
|
||||
user.client
|
||||
elif encrypted_stored_content.type.startswith('onchain') and encrypted_stored_content.onchain_index == item_index:
|
||||
encrypted_stored_content.type = "onchain/content" + ("_unknown" if (encrypted_stored_content.key_id is None) else "")
|
||||
encrypted_stored_content.owner_address = item_owner_address.to_string(1, 1, 1)
|
||||
|
|
|
|||
Loading…
Reference in New Issue