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:
Claire authored and GitHub committed 2026-01-27 22:30:17 +01:00
1 parent 947a233a60
commit b14cbb3ee9
7 files changed
+69 -6

No files matched your search

+7 -1
View File
@@ -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