Change ActivityPub paging to match spec. Clean up ActivityPub outbox changes. (#2410)
* Change ActivityPub paging to match spec. Clean up ActivityPub outbox changes. * Fix code style and test failures for OutboxController. * Attempt to fix CI errors.
This commit is contained in:
parent
8b5179d006
commit
122d59ac41
14 changed files with 182 additions and 110 deletions
|
@ -3,6 +3,6 @@
|
|||
module Activitystreams2BuilderHelper
|
||||
# Gets a usable name for an account, using display name or username.
|
||||
def account_name(account)
|
||||
account.display_name.empty? ? account.username : account.display_name
|
||||
account.display_name.presence || account.username
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue