scope:not_domain_blocked_by_account,->(account){ left_outer_joins(:account).where('accounts.domain IS NULL OR accounts.domain NOT IN (?)',account.excluded_from_timeline_domains)}
scope:not_domain_blocked_by_account,->(account){account.excluded_from_timeline_domains.blank??left_outer_joins(:account):left_outer_joins(:account).where('accounts.domain IS NULL OR accounts.domain NOT IN (?)',account.excluded_from_timeline_domains)}