mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-08 09:05:31 +08:00
Before this fix we could only list messages of a thread if it was part of a `threading_enabled` channel or if the thread was set to `force`. Due to our design of also using a thread id when this is just a chain of replies so we can switch from threading enabled to disabled at any time, we will allow `Chat:: ListChannelThreadMessages` to list the messages of any thread, the only important requirements are: - having a thread id - being able to access this thread To allow this, this commit simply removes the check on `threading_enabled` or `force`. |
||
|---|---|---|
| .. | ||
| channel.rb | ||
| message.rb | ||
| thread.rb | ||