try to tighten up local only toot stuff, like... properly (#163)
* try to tighten up local only toot stuff, like... properly * try to un-break tests
This commit is contained in:
@@ -257,6 +257,11 @@ class Status < ApplicationRecord
|
||||
end
|
||||
end
|
||||
|
||||
def local_only?
|
||||
# match both with and without U+FE0F (the emoji variation selector)
|
||||
/👁\ufe0f?\z/.match?(content)
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def store_uri
|
||||
|
Reference in New Issue
Block a user