mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-02-01 10:14:57 -05:00
Add AMQP message when usertext edited.
This commit is contained in:
@@ -919,6 +919,8 @@ class ApiController(RedditController):
|
||||
|
||||
changed(item)
|
||||
|
||||
amqp.add_item('usertext_edited', item._fullname)
|
||||
|
||||
if kind == 'link':
|
||||
set_last_modified(item, 'comments')
|
||||
LastModified.touch(item._fullname, 'Comments')
|
||||
|
||||
Reference in New Issue
Block a user