Skip to content

Commit

Permalink
Add an experimental per-site setting for rooms.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
makyen committed Mar 20, 2020
1 parent e0b3143 commit e3e9852
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spamhandling.py
Expand Up @@ -148,7 +148,7 @@ def handle_spam(post, reasons, why):

if set(reasons) - GlobalVars.experimental_reasons == set() and \
not why.startswith("Post manually "):
chatcommunicate.tell_rooms(message, ("experimental-all-sites",),
chatcommunicate.tell_rooms(message, ("experimental-all-sites", "experimental-site-" + post.post_site),
without_roles, notify_site=post.post_site, report_data=(post_url, poster_url))
else:
if offensive_mask:
Expand Down

0 comments on commit e3e9852

Please sign in to comment.