mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-04-27 03:00:12 -04:00
Inbox counts: Only unnotify on comments
This commit is contained in:
@@ -2488,6 +2488,8 @@ class ApiController(RedditController):
|
||||
sr = thing.subreddit_slow
|
||||
action = 'remove' + thing.__class__.__name__.lower()
|
||||
ModAction.create(sr, c.user, action, **kw)
|
||||
|
||||
if isinstance(thing, Comment):
|
||||
queries.unnotify(thing)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user