Merge branch 'main' into glitch-soc/merge-upstream
- `app/views/statuses/_simple_status.html.haml`: Small markup change in glitch-soc, on a line that has been modified by upstream. Ported upstream changes.
This commit is contained in:
@ -13,7 +13,7 @@ class ActivityPub::ActorSerializer < ActivityPub::Serializer
|
||||
:inbox, :outbox, :featured, :featured_tags,
|
||||
:preferred_username, :name, :summary,
|
||||
:url, :manually_approves_followers,
|
||||
:discoverable
|
||||
:discoverable, :published
|
||||
|
||||
has_one :public_key, serializer: ActivityPub::PublicKeySerializer
|
||||
|
||||
@ -158,6 +158,10 @@ class ActivityPub::ActorSerializer < ActivityPub::Serializer
|
||||
!object.suspended? && !object.also_known_as.empty?
|
||||
end
|
||||
|
||||
def published
|
||||
object.created_at.midnight.iso8601
|
||||
end
|
||||
|
||||
class CustomEmojiSerializer < ActivityPub::EmojiSerializer
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user