Skip to content

Commit

Permalink
Revert 'Revert this back soon...'
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas-daniels committed Jan 1, 2016
1 parent b13eee9 commit 93165a3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions spamhandling.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,10 +121,10 @@ def handle_spam(title, body, poster, site, post_url, poster_url, post_id, reason
tavern_pings = get_user_names_on_notification_list("meta.stackexchange.com", GlobalVars.meta_tavern_room_id, site, GlobalVars.wrapm)
tavern_msg = append_pings(s, tavern_pings)
GlobalVars.tavern_on_the_meta.send_message(tavern_msg if len(tavern_msg) <= 500 else s)
# if site == "stackoverflow.com":
# socvr_pings = get_user_names_on_notification_list("stackoverflow.com", GlobalVars.socvr_room_id, site, GlobalVars.wrapso)
# socvr_msg = append_pings(s, socvr_pings)
# GlobalVars.socvr.send_message(socvr_msg if len(socvr_msg) <= 500 else s)
if site == "stackoverflow.com":
socvr_pings = get_user_names_on_notification_list("stackoverflow.com", GlobalVars.socvr_room_id, site, GlobalVars.wrapso)
socvr_msg = append_pings(s, socvr_pings)
GlobalVars.socvr.send_message(socvr_msg if len(socvr_msg) <= 500 else s)

for specialroom in GlobalVars.specialrooms:
sites = specialroom["sites"]
Expand Down

0 comments on commit 93165a3

Please sign in to comment.