A Reply to a message in the privatemsg API behaves different than a reply from the web interface

gold - November 5, 2009 - 16:31
Project:Privatemsg
Version:7.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

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!

#1

Berdir - November 5, 2009 - 18:45

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.

AttachmentSize
privatemsg.reply_author.patch 932 bytes

#2

Berdir - November 5, 2009 - 18:46
Status:active» needs review

Oh, and thanks ;)

#3

Berdir - November 8, 2009 - 17:39
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.

#4

System Message - November 22, 2009 - 17:40
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.