lib/ayadn/action.rb in ayadn-1.0.1 vs lib/ayadn/action.rb in ayadn-1.0.2

- old
+ new

@@ -756,9 +756,14 @@ begin post_id = get_real_post_id(post_id) puts Status.replying_to(post_id) replied_to = @api.get_details(post_id) post_404(post_id) if meta_404(replied_to) + post_id = get_original_id(post_id, replied_to) + if post_id == replied_to['data']['repost_of']['id'] + replied_to = @api.get_details(post_id) + post_404(post_id) if meta_404(replied_to) + end poster = Post.new puts Status.reply lines_array = poster.compose poster.check_post_length(lines_array) @view.clear_screen