Add support for private pinned posts (#16954)

* Add support for private pinned toots

* Allow local user to pin private toots

* Change wording to avoid "direct message"
This commit is contained in:
Claire
2022-01-17 00:49:55 +01:00
committed by GitHub
parent 081e4426f8
commit d5c9feb7b7
18 changed files with 164 additions and 28 deletions

View File

@ -35,6 +35,7 @@ RSpec.describe AccountsController, type: :controller do
before do
status_media.media_attachments << Fabricate(:media_attachment, account: account, type: :image)
account.pinned_statuses << status_pinned
account.pinned_statuses << status_private
end
shared_examples 'preliminary checks' do