fixing logic for 3rd party apps, should now work
This commit is contained in:
parent
2dbaa1d38a
commit
7b81b1b24f
|
@ -89,10 +89,10 @@ class PostStatusService < BaseService
|
|||
|
||||
def local_only_option(local_only, in_reply_to, federation_setting)
|
||||
if local_only.nil?
|
||||
if in_reply_to&.local_only?
|
||||
if in_reply_to && in_reply_to.local_only
|
||||
return true
|
||||
end
|
||||
if !in_reply_to&.local_only?
|
||||
if in_reply_to && !in_reply_to.local_only
|
||||
return false
|
||||
end
|
||||
return !federation_setting
|
||||
|
|
Loading…
Reference in New Issue