diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2019-06-04 23:11:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-04 23:11:18 +0200 |
commit | f2b743e715758f6af818f68fb77cd44d2451ae48 (patch) | |
tree | 9221aaac28376655038631851da7228c040b2077 /app/models/status.rb | |
parent | 48fee1a800a262ce26171d724c15738d083eb6d6 (diff) |
Refactor all ActivityPub deliveries to be serialized and signed through one concern (#10966)
Diffstat (limited to 'app/models/status.rb')
-rw-r--r-- | app/models/status.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/models/status.rb b/app/models/status.rb index 2f6101b90..a7f32f41c 100644 --- a/app/models/status.rb +++ b/app/models/status.rb @@ -204,6 +204,8 @@ class Status < ApplicationRecord public_visibility? || unlisted_visibility? end + alias sign? distributable? + def with_media? media_attachments.any? end |