Add support for FASP data sharing (#34415)

This commit is contained in:
David Roetzel 2025-05-16 14:24:02 +02:00 committed by GitHub
commit a5a2c6dc7e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
38 changed files with 1140 additions and 1 deletions

View file

@ -36,6 +36,7 @@ class Status < ApplicationRecord
include Discard::Model
include Paginable
include RateLimitable
include Status::FaspConcern
include Status::FetchRepliesConcern
include Status::SafeReblogInsert
include Status::SearchConcern
@ -181,7 +182,7 @@ class Status < ApplicationRecord
],
thread: :account
delegate :domain, to: :account, prefix: true
delegate :domain, :indexable?, to: :account, prefix: true
REAL_TIME_WINDOW = 6.hours