mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-12-03 18:39:05 +01:00
Keep back own DMs in Home timeline
Follow-up to e45a6edd65
, fixes inconsistencies
in glitch-soc behavior.
This commit is contained in:
parent
8f3096b846
commit
ed8d06212f
1 changed files with 2 additions and 1 deletions
|
@ -6,6 +6,8 @@ class FanOutOnWriteService < BaseService
|
||||||
def call(status)
|
def call(status)
|
||||||
raise Mastodon::RaceConditionError if status.visibility.nil?
|
raise Mastodon::RaceConditionError if status.visibility.nil?
|
||||||
|
|
||||||
|
deliver_to_self(status) if status.account.local?
|
||||||
|
|
||||||
render_anonymous_payload(status)
|
render_anonymous_payload(status)
|
||||||
|
|
||||||
if status.direct_visibility?
|
if status.direct_visibility?
|
||||||
|
@ -15,7 +17,6 @@ class FanOutOnWriteService < BaseService
|
||||||
elsif status.limited_visibility?
|
elsif status.limited_visibility?
|
||||||
deliver_to_mentioned_followers(status)
|
deliver_to_mentioned_followers(status)
|
||||||
else
|
else
|
||||||
deliver_to_self(status) if status.account.local?
|
|
||||||
deliver_to_followers(status)
|
deliver_to_followers(status)
|
||||||
deliver_to_lists(status)
|
deliver_to_lists(status)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue