mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-04-27 03:00:12 -04:00
Add new_report amqp message
This commit is contained in:
@@ -1527,6 +1527,8 @@ def new_report(thing, report_rel):
|
||||
elif isinstance(thing, Message):
|
||||
m.insert(get_user_reported_messages(reporter_id), [report_rel])
|
||||
|
||||
amqp.add_item("new_report", thing._fullname)
|
||||
|
||||
|
||||
def clear_reports(things, rels):
|
||||
query_cache_deletes = []
|
||||
|
||||
Reference in New Issue
Block a user