mirror of
https://github.com/discourse/discourse.git
synced 2025-06-01 09:08:10 +08:00
FEATURE: enable threading in chat DM channels (#29170)
Support threads in DMs and group chats so members can keep their conversations organized. This change adds a new toggle switch for threads within the Chat Channel Settings screen. For new direct message channels threading is enabled by default. We have made a decision to exclude direct message threads from the My Threads screen for now.
This commit is contained in:
@ -52,6 +52,12 @@ RSpec.describe Chat::DirectMessageChannel do
|
||||
end
|
||||
end
|
||||
|
||||
describe "#threading_enabled" do
|
||||
it "defaults to true" do
|
||||
expect(channel.threading_enabled).to be(true)
|
||||
end
|
||||
end
|
||||
|
||||
describe "#title" do
|
||||
subject(:title) { channel.title(user) }
|
||||
|
||||
|
Reference in New Issue
Block a user