mirror of
https://github.com/discourse/discourse.git
synced 2024-11-30 00:05:50 +08:00
dda4bb0f7c
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. |
||
---|---|---|
.. | ||
channel.rb | ||
message.rb | ||
thread.rb |