lib/fb_graph/post.rb in fb_graph-2.5.6 vs lib/fb_graph/post.rb in fb_graph-2.5.7
- old
+ new
@@ -25,14 +25,10 @@
elsif to[:start_time]
Event.new(to[:id], to)
elsif to[:version]
Group.new(to[:id], to)
else
- if attributes[:context] == Application
- Application.new(to[:id], to)
- else
- User.new(to[:id], to)
- end
+ User.new(to[:id], to)
end
end
end
@with_tags = []
if attributes[:with_tags]
\ No newline at end of file