lib/tutter/action/sppuppet.rb in tutter-sppuppet-1.2.1 vs lib/tutter/action/sppuppet.rb in tutter-sppuppet-1.2.2

- old
+ new

@@ -71,9 +71,12 @@ comments.each do |i| # Comment is older than last commit. # We only want to check newer comments next if last_commit_date > i.created_at + # Skip comments from tutter itself + next if i.attrs[:user].attrs[:login] != @client.user.login + if MERGE_COMMENT.match(i.body) merger ||= i.attrs[:user].attrs[:login] # Count as a +1 if it is not the author unless pr.user.login == i.attrs[:user].attrs[:login] votes[i.attrs[:user].attrs[:login]] = 1