In the API hook_insert is called, when a reply is performed.
The Webinterface doesn't call hook_insert, when a reply is made.

Thank you for your great work berdir!

CommentFileSizeAuthor
#1 privatemsg.reply_author.patch932 bytesberdir

Comments

berdir’s picture

StatusFileSize
new932 bytes

To clarify, the hook is called, but when sending a reply through the web interface, you are not listed as an recipient but if a reply is sent through the api with you as the author, you are listed.

This means for example that you receive email notifications of such replies.

berdir’s picture

Status: Active » Needs review

Oh, and thanks ;)

berdir’s picture

Version: 6.x-1.0-rc4 » 7.x-1.x-dev
Status: Needs review » Fixed

Fixed in 6.x-1.x-dev and 7.x-1.x-dev.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.