discourse/plugins/chat/assets
Joffrey JAFFEUX cb257ff658
DEV: allows to add a draft without persisting it (#31457)
On chat setup we get the initial state of drafts for the current users,
we need to add them to the drafts manager, but we don't need to store
them again on the backend.

This commit adds a persist (boolean) parameter to the
`ChatDraftsManager.add` service which when set to true will only add the
draft on the frontend and not send it to the backend.

No test, as the behavior is already tested and unchanged, this is only a
performance improvement.
2025-02-22 01:29:12 +01:00
..
javascripts DEV: allows to add a draft without persisting it (#31457) 2025-02-22 01:29:12 +01:00
stylesheets DEV: Remove unneeded -webkit prefixes from css (#31448) 2025-02-21 14:48:20 +00:00