DEV: moves channel-archive-status to channels subscriptions (#19567)

It was quite an oddball because its a global subscription created on each channel. channels manager now allows us to elegantly solve this case.
This commit is contained in:
Joffrey JAFFEUX
2022-12-30 15:30:36 +01:00
committed by GitHub
parent 584a6e3552
commit 908add79de
7 changed files with 63 additions and 45 deletions

View File

@ -90,6 +90,7 @@ describe Chat::Api::ChatCurrentUserChannelsController do
expect(ids["channel_edits"]).not_to eq(nil)
expect(ids["channel_status"]).not_to eq(nil)
expect(ids["new_channel"]).not_to eq(nil)
expect(ids["archive_status"]).not_to eq(nil)
end
response.parsed_body["public_channels"][0]["meta"]["message_bus_last_ids"].tap do |ids|