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:
@ -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
|
||||
|
Reference in New Issue
Block a user