base/app/helpers/activities_helper.rb in social_stream-0.12.14 vs base/app/helpers/activities_helper.rb in social_stream-0.13.0

- old
+ new

@@ -29,8 +29,9 @@ # Build a new post based on the current_subject. Useful for authorization queries def new_post(receiver) return Post.new unless user_signed_in? - Post.new :_contact_id => current_subject.contact_to!(receiver).id + Post.new :author_id => Actor.normalize_id(current_subject), + :owner_id => Actor.normalize_id(receiver) end end