Skip to content

Commit

Permalink
fix user not unblacklisted
Browse files Browse the repository at this point in the history
  • Loading branch information
Papershine committed Jul 18, 2018
1 parent 866ee6f commit 3f1ae33
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/models/stack_exchange_user.rb
Expand Up @@ -25,7 +25,8 @@ def blacklist_for_post(post)

def unblacklist_user
ActionCable.server.broadcast 'smokedetector_messages', unblacklist: {
uid: user_id.to_s
uid: user_id.to_s,
site: URI.parse(site.site_url).host
}
end
end

0 comments on commit 3f1ae33

Please sign in to comment.