mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-08-04 14:57:42 +00:00
The share route enforced retention after createSharedLink and the permission grant. If the cascade threw at that point, the client got a 500 with a live share already created, and a retry never reached the cascade again because createSharedLink rejects when an active share exists — leaving a valid share whose source conversation stays non-temporary and non-expiring under ephemeral mode. Convert the source conversation first: a failed share attempt (or an existing-share retry) still converts the touched chat, and the share expiration resolution now reads the converted conversation's deadline. |
||
|---|---|---|
| .. | ||
| app | ||
| cache | ||
| config | ||
| db | ||
| models | ||
| server | ||
| strategies | ||
| test | ||
| utils | ||
| jest.config.js | ||
| jsconfig.json | ||
| package.json | ||
| typedefs.js | ||