discourse/plugins/chat/lib/chat_sdk
Joffrey JAFFEUX dda4bb0f7c
DEV: allows to disable strip_whitespaces in messages (#26848)
The TextCleaner step has been moved from chat message’s validation to create_message/update_message services. It allows us to easily tweak part of its behavior depending on the needs.

For example we will now disable strip_whitespaces by default when streaming messages as we want to keep newlines and spaces at the end of the message.
2024-05-02 11:59:18 +02:00
..
channel.rb DEV: Move chat service objects into core (#26506) 2024-04-04 10:57:41 -03:00
message.rb DEV: allows to disable strip_whitespaces in messages (#26848) 2024-05-02 11:59:18 +02:00
thread.rb DEV: Move chat service objects into core (#26506) 2024-04-04 10:57:41 -03:00