diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2017-02-02 00:03:31 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2017-02-02 00:03:31 +0100 |
commit | d9ca46b464dc5a5eb0ad308809c15a79dcd17ada (patch) | |
tree | 481d65b29b53d84314f7783c1eb0f4b122e7a7ef /app/models | |
parent | 1da0ce5c7cf6a5b90e28a810c8b3ef4003239383 (diff) |
Cleaning up format of broadcast real-time messages, removing
redis-backed "mentions" timeline as redundant (given notifications)
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/status.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/app/models/status.rb b/app/models/status.rb index 99e167bc9..63f5d5fa4 100644 --- a/app/models/status.rb +++ b/app/models/status.rb @@ -102,10 +102,6 @@ class Status < ApplicationRecord where(account: [account] + account.following) end - def as_mentions_timeline(account) - where(id: Mention.where(account: account).select(:status_id)) - end - def as_public_timeline(account = nil) query = joins('LEFT OUTER JOIN accounts ON statuses.account_id = accounts.id') .where(visibility: :public) |