app/models/group.rb in social_stream-0.4.1 vs app/models/group.rb in social_stream-0.4.2
- old
+ new
@@ -10,14 +10,14 @@
def profile!
actor!.profile || actor!.build_profile
end
def followers
- subjects(:subject_type => :user, :direction => :senders)
+ contacts(:subject_type => :user, :direction => :received)
end
def recent_groups
- subjects(:subject_type => :group, :direction => :receivers) do |q|
+ contacts(:type => :group, :direction => :sent) do |q|
q.select("ties.created_at").
merge(Tie.recent)
end
end