Status message after a successful sending lies about the recipient list

Created on 20 March 2014, about 11 years ago
Updated 24 April 2025, 13 days ago

After a successful message send, the module displays a status:

A message has been sent to user1, user2, user3.

But the list of users is built before _privatemsg_send($message) runs. This have the next effect: During message sending the recipient list may be altered. For example, some recipients may be removed in hook_privatemsg_message_presave_alter(). But the status message still reports the whole list of recipients that was built before alteration.

Feature request
Status

Closed: outdated

Version

1.0

Component

Code

Created by

🇷🇴Romania claudiu.cristea Arad 🇷🇴

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024