mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-07-02 20:32:58 +00:00
Creating or updating a shared link computed a capped expiry for the SharedLink itself but never converted the source conversation, so under forced ephemeral retention sharing an older permanent chat left it expiredAt: null and visible indefinitely after the public link expired, unlike every other write path that converts a touched permanent chat. Run applyForcedRetention on the source conversation after the share is created/updated, converting it and its messages and capping its shares; a no-op outside forced retention. |
||
|---|---|---|
| .. | ||
| controllers | ||
| middleware | ||
| routes | ||
| services | ||
| utils | ||
| cleanup.js | ||
| experimental.js | ||
| index.js | ||
| index.metrics.spec.js | ||
| index.spec.js | ||
| socialLogins.js | ||
| socialLogins.spec.js | ||
| telemetry.js | ||
| telemetry.spec.js | ||