Merge pull request #3364 from ClearlyClaire/glitch-soc/features/local-only-drop-emoji
Deprecate eye emoji in favor of a bespoke API parameter
This commit is contained in:
1 parent
947a233a60
commit
b14cbb3ee9
7 files changed
+69
-6
No files matched your search
@@ -496,7 +496,13 @@ class Status < ApplicationRecord
|
||||
def set_local_only
|
||||
return unless account.domain.nil? && !attribute_changed?(:local_only)
|
||||
|
||||
self.local_only = marked_local_only?
|
||||
self.local_only = true if thread&.local_only? && local_only.nil?
|
||||
|
||||
if reblog?
|
||||
self.local_only = reblog.local_only
|
||||
elsif local_only.nil?
|
||||
self.local_only = marked_local_only?
|
||||
end
|
||||
end
|
||||
|
||||
def set_conversation
|
||||
|
||||
Reference in new issue
Block a user