Federate new profile settings (#38314)

This commit is contained in:
Claire authored and GitHub committed 2026-03-24 09:20:17 +00:00
1 parent b9388bed73
commit ca08c040b0
4 files changed
+38 -2

No files matched your search

@@ -114,6 +114,30 @@ RSpec.describe ActivityPub::ProcessAccountService do
end
end
context 'with profile settings' do
let(:payload) do
{
id: 'https://foo.test',
type: 'Actor',
inbox: 'https://foo.test/inbox',
showMedia: true,
showRepliesInMedia: false,
showFeatured: false,
}.with_indifferent_access
end
it 'sets the profile settings as expected' do
account = subject.call('alice', 'example.com', payload)
expect(account)
.to have_attributes(
show_media: true,
show_media_replies: false,
show_featured: false
)
end
end
context 'with inlined feature collection' do
let(:payload) do
{