Fix subscriptions:clear task, refactor feeds, refactor streamable activites
and atom feed generation to some extent, as well as the way mentions are stored
This commit is contained in:
parent
9594f0e858
commit
a08e724476
24 changed files with 219 additions and 234 deletions
|
@ -41,7 +41,7 @@ class StreamEntry < ActiveRecord::Base
|
|||
end
|
||||
|
||||
def mentions
|
||||
orphaned? ? [] : self.activity.mentions
|
||||
self.activity.respond_to?(:mentions) ? self.activity.mentions.map { |x| x.account } : []
|
||||
end
|
||||
|
||||
private
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue