I've a content type with a workflow. I have to notify users when the published version of the node is update.
Have I to check which transition is used? How?
I'm using an hook_node_presave.
[EDIT] It seems that check if it's the default revision could be right:
From draft to draft is false. From draft to published is true. From published to published is true.
Could be the right way?