Closed (duplicate)
Project:
Privatemsg
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
4 Apr 2012 at 11:35 UTC
Updated:
26 May 2013 at 07:30 UTC
Hi@all,
I have removed the recipient of a message in the hook_privatemsg_message_presave_alter. When I send the message I still get the drupal message "A message has been sent to ..." although the user does not receive the message.
This is because the the names for the success message are rendered in privatemsg_new_submit before the hook_privatemsg_message_presave_alter is executed in _privatemsg_send.
Hope someone could take a look at this.
Thanks
dendie
Comments
Comment #1
braindrift commentedIs there any work on this?
Comment #2
ptmkenny commentedPatch here: http://drupal.org/node/1352444