perf(backend): message writes look up the stored copy by its date and touch one chunk

This commit is contained in:
hh committed 2026-10-19 02:29:19 +00:00
1 parent 23c1504001
commit f5a8649855
2 files changed
+11 -9

No files matched your search

@@ -63,7 +63,7 @@ async def capture_message(
)
if ctx.pending_deletes.take(chat_id, message.id):
await repository.mark_deleted_late(
ctx.pool, ctx.account_id, chat_id, message.id
ctx.pool, ctx.account_id, chat_id, message.id, message.date
)
from userbot.modules.capture.identity import capture_identity # noqa: PLC0415