Discourse event - Discourse.on

(jj11909) #1

Is there an event for when a topic is edited? I can’t seem to find one. I’m writing a plugin to automatically send users a survey when a topic is marked solved however as discussed here the solved plugin isn’t currently triggering anything.

@sam did mention however that the post is edited so I figured I could watch for a post edit event and then check if the topic was marked solved or not.

Any info would be appreciated.

(jj11909) #2

Well i found the event but its a moot point because the solved feature doesn’t notify on post_edited.