mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-07-10 16:23:44 +00:00
saveConvo only ran the message/share/file caps when the touched conversation itself needed forced conversion, so an archive/pin/title save on an already-temporary chat with an earlier deadline skipped the child caps and any lagging rows from before the mode switch or a partial backfill kept expiredAt: null or a later deadline past the parent's TTL. Run the child caps whenever forced retention resolves an active deadline for a pre-existing conversation, matching the single cascade's self-healing behavior; each cap is an indexed no-op once the chat's children conform. The old "leaves messages untouched once ephemeral" expectation pinned the skip this change removes, so it now asserts the permanent row is healed instead. |
||
|---|---|---|
| .. | ||
| api | ||
| client | ||
| data-provider | ||
| data-schemas | ||