Post_edited webhook does not reflect updated topic title

Hi,

i know there is a webhook for topic, but a topic also being a post, i assume this is a bug.
When editing the topic title, the webhook post_edited is posting the previous title, not the updated one.

Thank you

1 Like

I just tested this on my local development site. I am finding the same thing as you are - the result of the post event webhook after editing a topic’s title gives the previous values for topic_title and topic_slug. The topic event webhook when a title is edited returns the updated values for topic_title and topic_slug.

3 Likes

We should schedule this for fix @eviltrout?

2 Likes

This has been fixed:

https://github.com/discourse/discourse/commit/c97244ca115c6e8d287d9c4e6033bf3e1d084f70

4 Likes