lib/ayadn/action.rb in ayadn-1.7.2 vs lib/ayadn/action.rb in ayadn-1.7.3
- old
+ new
@@ -554,10 +554,12 @@
begin
post_id = @workers.get_real_post_id(post_id)
puts Status.replying_to(post_id)
replied_to = @api.get_details(post_id)
Check.no_post(replied_to, post_id)
- post_id = @workers.get_original_id(post_id, replied_to)
+ unless options[:noredirect]
+ post_id = @workers.get_original_id(post_id, replied_to)
+ end
if replied_to['data']['repost_of']
if post_id == replied_to['data']['repost_of']['id']
replied_to = @api.get_details(post_id)
Check.no_post(replied_to, post_id)
end