discourse/plugins/chat/assets/javascripts
Joffrey JAFFEUX 398eaf0429
FIX: prevents saving draft in incorrect channel (#21741)
This commit regroups 3 changes
- serializes channel ID and json draft when calling the debouncer instead of inside the debounced function, it seems very unlikely to happen, but in a case where the debouncing wouldn't be canceled and the new message not set yet, we could save the draft on an invalid channel
- cancel persist draft handler when changing channel
- ensures we exit early when channel is not set
2023-05-25 09:29:31 +02:00
..
discourse FIX: prevents saving draft in incorrect channel (#21741) 2023-05-25 09:29:31 +02:00
lib/discourse-markdown UX/DEV: Review queue redesign fixes (#20239) 2023-03-02 16:40:53 +01:00