mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-16 15:16:38 +00:00
remove vestigial Status#local_only? definition
This commit is contained in:
parent
c1410af368
commit
0c46058a43
|
@ -272,10 +272,6 @@ class Status < ApplicationRecord
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
def local_only?
|
|
||||||
local_only
|
|
||||||
end
|
|
||||||
|
|
||||||
def marked_local_only?
|
def marked_local_only?
|
||||||
# match both with and without U+FE0F (the emoji variation selector)
|
# match both with and without U+FE0F (the emoji variation selector)
|
||||||
/👁\ufe0f?\z/.match?(content)
|
/👁\ufe0f?\z/.match?(content)
|
||||||
|
|
Loading…
Reference in a new issue