Add fedibird capabiliies support

This commit is contained in:
KMY 2023-03-05 14:48:22 +09:00
parent bb665eb942
commit d5b8351364
2 changed files with 2 additions and 0 deletions

View file

@ -102,6 +102,7 @@ class REST::V1::InstanceSerializer < ActiveModel::Serializer
def fedibird_capabilities
capabilities = [
:emoji_reaction,
:visibility_public_unlisted
]
capabilities << :profile_search unless Chewy.enabled?