Add new_report amqp message

This commit is contained in:
Chad Birch
2015-03-12 17:28:01 -06:00
parent f4109ba70f
commit 1089c951b3

View File

@@ -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 = []