app/models/group.rb in social_stream-base-0.19.2 vs app/models/group.rb in social_stream-base-0.20.0
- old
+ new
@@ -32,16 +32,19 @@
create_ties_to_participants
end
# Creates the ties from the founder to the group
def create_ties_from_founder
+=begin
+ # FIXME: need to define a proper relation for this case. Maybe a system defined relation
author.sent_contacts.create! :receiver_id => actor_id,
:relation_ids => _relation_ids
if represented_author?
user_author.sent_contacts.create! :receiver_id => actor_id,
:relation_ids => _relation_ids
end
+=end
end
# Creates the ties from the group to the participants
def create_ties_to_participants
participant_ids = ([ author_id, user_author_id ] | Array.wrap(@_participants)).uniq