diff options
author | multiple creatures <dev@multiple-creature.party> | 2020-02-24 09:07:01 -0600 |
---|---|---|
committer | multiple creatures <dev@multiple-creature.party> | 2020-02-24 09:07:01 -0600 |
commit | 5d67d426645bc8b7b50f58024a82ffbbcdf9bd14 (patch) | |
tree | 2a3a1899eb3342e9809a29a2d1371d300b175a6f | |
parent | 0fb67b52e0c2f4c9b6ef30b872a5e648732695bb (diff) |
fix `distributable?` logic
-rw-r--r-- | app/models/status.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/status.rb b/app/models/status.rb index 8b5a3d189..c61bc0a5f 100644 --- a/app/models/status.rb +++ b/app/models/status.rb @@ -251,7 +251,7 @@ class Status < ApplicationRecord end def distributable? - !hidden? || public_visibility? || unlisted_visibility? || local_visibility? + !hidden? && (public_visibility? || unlisted_visibility? || local_visibility?) end alias sign? distributable? |