CURRIKI-6057 Threaded discussion: make flag notification work