mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-13 07:49:29 +00:00
Add shared statuses to the database
This commit is contained in:
@@ -10,6 +10,10 @@ module ApplicationHelper
|
||||
return match[1] unless match.nil?
|
||||
end
|
||||
|
||||
def local_id?(id)
|
||||
id.start_with?("tag:#{LOCAL_DOMAIN}")
|
||||
end
|
||||
|
||||
def subscription_url(account)
|
||||
add_base_url_prefix subscriptions_path(id: account.id, format: '')
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user