Inbox counts: Only unnotify on comments

This commit is contained in:
umbrae
2014-10-04 15:33:35 -07:00
committed by Neil Williams
parent 36691515e8
commit 8a0aa2e977

View File

@@ -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)