lib/cosgrove/upvote_job.rb in cosgrove-0.0.1rc9 vs lib/cosgrove/upvote_job.rb in cosgrove-0.0.1rc10

- old
+ new

@@ -16,10 +16,12 @@ author_name, permlink = parse_slug slug discord_id = event.author.id cb_account = Cosgrove::Account.find_by_discord_id(discord_id) registered = !!cb_account - muted = muted by: steem_account, chain: :steem + muters = cosgrove_operators + muters << steem_account + muted = muted by: muters, chain: :steem posts = SteemData::Post.root_posts.where(author: author_name, permlink: permlink) votes_today = SteemData::AccountOperation.type('vote').where(voter: steem_account).today today_count = votes_today.count author_count = votes_today.where(author: author_name).count