mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 04:24:35 +08:00
FIX: User archiving message should also publish to sent section.
This commit is contained in:
@ -163,7 +163,13 @@ describe TopicTrackingState do
|
||||
)
|
||||
end
|
||||
|
||||
["/private-messages/archive", "/private-messages/inbox"].each do |channel|
|
||||
expect(messages.count).to eq(3)
|
||||
|
||||
[
|
||||
"/private-messages/archive",
|
||||
"/private-messages/inbox",
|
||||
"/private-messages/sent",
|
||||
].each do |channel|
|
||||
message = messages.find do |message|
|
||||
message.channel = channel
|
||||
end
|
||||
|
Reference in New Issue
Block a user