Fix DMs not appearing into timelines (#15182)

Fixes #15179
This commit is contained in:
ThibG 2020-11-19 00:23:46 +01:00 committed by GitHub
parent d8d43a427a
commit 966593393e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,6 +9,7 @@ class FanOutOnWriteService < BaseService
deliver_to_self(status) if status.account.local?
if status.direct_visibility?
deliver_to_mentioned_followers(status)
deliver_to_own_conversation(status)
elsif status.limited_visibility?
deliver_to_mentioned_followers(status)