ifstatus.reply?&&!status.in_reply_to_account_id.nil?# Filter out if it's a reply
ifstatus.reply?&&!status.in_reply_to_account_id.nil?# Filter out if it's a reply
should_filter=!Follow.where(account_id:receiver_id,target_account_id:status.in_reply_to_account_id).exists?# and I'm not following the person it's a reply to
should_filter=!crutches[:following][status.in_reply_to_account_id]# and I'm not following the person it's a reply to
should_filter&&=receiver_id!=status.in_reply_to_account_id# and it's not a reply to me
should_filter&&=receiver_id!=status.in_reply_to_account_id# and it's not a reply to me
should_filter&&=status.account_id!=status.in_reply_to_account_id# and it's not a self-reply
should_filter&&=status.account_id!=status.in_reply_to_account_id# and it's not a self-reply
returnshould_filter
return!!should_filter
elsifstatus.reblog?# Filter out a reblog
elsifstatus.reblog?# Filter out a reblog
should_filter=Follow.where(account_id:receiver_id,target_account_id:status.account_id,show_reblogs:false).exists?# if the reblogger's reblogs are suppressed
should_filter=crutches[:hiding_reblogs][status.account_id]# if the reblogger's reblogs are suppressed
should_filter||=Block.where(account_id:status.reblog.account_id,target_account_id:receiver_id).exists?# or if the author of the reblogged status is blocking me
should_filter||=crutches[:blocked_by][status.reblog.account_id]# or if the author of the reblogged status is blocking me
should_filter||=AccountDomainBlock.where(account_id:receiver_id,domain:status.reblog.account.domain).exists?# or the author's domain is blocked
should_filter||=crutches[:domain_blocking][status.reblog.account.domain]# or the author's domain is blocked
about_hashtag_html:These are public toots tagged with <strong>#%{hashtag}</strong>. You can interact with them if you have an account anywhere in the fediverse.
about_hashtag_html:These are public toots tagged with <strong>#%{hashtag}</strong>. You can interact with them if you have an account anywhere in the fediverse.
about_mastodon_html:Mastodon is a social network based on open web protocols and free, open-source software. It is decentralized like e-mail.
about_mastodon_html: 'The social network of the future:Noads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!'
about_this:About
about_this:About
active_count_after:active
active_count_after:active
active_footnote:Monthly Active Users (MAU)
active_footnote:Monthly Active Users (MAU)
@ -18,7 +18,6 @@ en:
discover_users:Discover users
discover_users:Discover users
documentation:Documentation
documentation:Documentation
federation_hint_html:With an account on %{instance} you'll be able to follow people on any Mastodon server and beyond.
federation_hint_html:With an account on %{instance} you'll be able to follow people on any Mastodon server and beyond.
generic_description:"%{domain} is one server in the network"
get_apps:Try a mobile app
get_apps:Try a mobile app
hosted_on:Mastodon hosted on %{domain}
hosted_on:Mastodon hosted on %{domain}
instance_actor_flash:|
instance_actor_flash:|
@ -486,8 +485,8 @@ en:
open:Anyone can sign up
open:Anyone can sign up
title:Registrations mode
title:Registrations mode
show_known_fediverse_at_about_page:
show_known_fediverse_at_about_page:
desc_html:When toggled, it will show toots from all the known fediverse on preview. Otherwise it will only show local toots.
desc_html:When disabled, restricts the public timeline linked from the landing page to showing only local content
title:Show known fediverse on timeline preview
title:Include federated content on unauthenticated public timeline page
show_reblogs_in_public_timelines:
show_reblogs_in_public_timelines:
desc_html:Show public boosts of public toots in local and public timelines.
desc_html:Show public boosts of public toots in local and public timelines.
title:Show boosts in public timelines
title:Show boosts in public timelines
@ -511,15 +510,18 @@ en:
title:Custom terms of service
title:Custom terms of service
site_title:Server name
site_title:Server name
spam_check_enabled:
spam_check_enabled:
desc_html:Mastodon can auto-silence and auto-report accounts that send repeated unsolicited messages. There may be false positives.
desc_html:Mastodon can auto-report accounts that send repeated unsolicited messages. There may be false positives.
title:Anti-spam automation
title:Anti-spam automation
thumbnail:
thumbnail:
desc_html:Used for previews via OpenGraph and API. 1200x630px recommended
desc_html:Used for previews via OpenGraph and API. 1200x630px recommended
title:Server thumbnail
title:Server thumbnail
timeline_preview:
timeline_preview:
desc_html:Display public timeline on landing page
desc_html:Display link to public timeline on landing page and allow API access to the public timeline without authentication
title:Timeline preview
title:Allow unauthenticated access to public timeline
title:Site settings
title:Site settings
trendable_by_default:
desc_html:Affects hashtags that have not been previously disallowed
title:Allow hashtags to trend without prior review
trends:
trends:
desc_html:Publicly display previously reviewed hashtags that are currently trending
desc_html:Publicly display previously reviewed hashtags that are currently trending