Fix third party app emoji reaction feature
This commit is contained in:
parent
fed10012e4
commit
b9f8e7731b
@ -11,7 +11,11 @@ class REST::InstanceSerializer < ActiveModel::Serializer
|
|||||||
|
|
||||||
attributes :domain, :title, :version, :source_url, :description,
|
attributes :domain, :title, :version, :source_url, :description,
|
||||||
:usage, :thumbnail, :languages, :configuration,
|
:usage, :thumbnail, :languages, :configuration,
|
||||||
|
<<<<<<< HEAD
|
||||||
:registrations, :feature_quote, :fedibird_capabilities
|
:registrations, :feature_quote, :fedibird_capabilities
|
||||||
|
=======
|
||||||
|
:registrations, :fedibird_capabilities
|
||||||
|
>>>>>>> 5c5b42d42c (Fix third party app emoji reaction feature)
|
||||||
|
|
||||||
has_one :contact, serializer: ContactSerializer
|
has_one :contact, serializer: ContactSerializer
|
||||||
has_many :rules, serializer: REST::RuleSerializer
|
has_many :rules, serializer: REST::RuleSerializer
|
||||||
@ -96,6 +100,7 @@ class REST::InstanceSerializer < ActiveModel::Serializer
|
|||||||
def feature_quote
|
def feature_quote
|
||||||
true
|
true
|
||||||
end
|
end
|
||||||
|
|
||||||
# for third party apps
|
# for third party apps
|
||||||
def fedibird_capabilities
|
def fedibird_capabilities
|
||||||
capabilities = [
|
capabilities = [
|
||||||
|
Loading…
Reference in New Issue
Block a user