There's a plugin called "Revisionary"... It's very cool!!!!! It allows users (e/g/ contributors) to submit revisions for review...
You plugin work along side it except for one thing: when "revisions" are submitted, they are treated as "pending" so your plugin sends out an email...
It'd be super neat if your plugin could detect when the Revisionary plugin is activated and avoid send a "pending for review" email notification since the Revisionary plugin send out its own email with a special link specifically for approving revisions.
That would be fantastic!!!!
You should try it out, just look for the "Revisionary" plugin and try submitting a revision as a contributor then you'll notice two emails are sent out. Clicking on the link sent by your plugin works, but when the post is published, it has the effect of not applying the revision.
The simple fix would be to simply ignore these special posts when Revisionary is active and avoid sending the notification.