try to tighten up local only toot stuff, like... properly (#163)

* try to tighten up local only toot stuff, like... properly

* try to un-break tests
This commit is contained in:
beatrix
2017-10-09 09:56:17 -04:00
committed by GitHub
parent 92a3181dc6
commit f0a2a6c875
4 changed files with 13 additions and 2 deletions

View File

@@ -28,7 +28,7 @@ class StreamEntry < ApplicationRecord
scope :recent, -> { reorder(id: :desc) }
scope :with_includes, -> { includes(:account, status: STATUS_INCLUDES) }
delegate :target, :title, :content, :thread,
delegate :target, :title, :content, :thread, :local_only?,
to: :status,
allow_nil: true