mirror of
https://github.com/discourse/discourse.git
synced 2025-03-03 16:02:11 +08:00

Followup to ba11cf47670891681a8cb579c3a4819421111345, this commit makes it so that none of the chat message thread data is serialized if threading_enabled is false for the channel or if enable_experimental_chat_threaded_discussions is false, there is no need to serialize the data in this case.