fixes
This commit is contained in:
parent
69b7ab9fdf
commit
c8456f0fac
|
|
@ -179,8 +179,8 @@ async def s_api_v1_content_friendly_list(request):
|
|||
|
||||
result += f"""
|
||||
<tr>
|
||||
<td>{content.cid}</td>
|
||||
<td>{metadata['title']}</td>
|
||||
<td>{content.cid.serialize_v2()}</td>
|
||||
<td>{metadata.get('name', "")}</td>
|
||||
<td>{content.meta.get('item_address')}</td>
|
||||
<td><a href="{preview_link}">Preview</a></td>
|
||||
</tr>
|
||||
|
|
@ -191,8 +191,5 @@ async def s_api_v1_content_friendly_list(request):
|
|||
</html>
|
||||
"""
|
||||
return response.html(result)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -217,7 +217,7 @@ async def indexer_loop(memory, platform_found: bool, seqno: int) -> [bool, int]:
|
|||
for hint_message in session.query(KnownTelegramMessage).filter(
|
||||
and_(
|
||||
KnownTelegramMessage.chat_id == user.telegram_id,
|
||||
KnownTelegramMessage.message_type == 'hint',
|
||||
KnownTelegramMessage.type == 'hint',
|
||||
KnownTelegramMessage.meta.contains({'encrypted_content_hash': encrypted_stored_content.hash})
|
||||
)
|
||||
):
|
||||
|
|
|
|||
Loading…
Reference in New Issue