Closed (won't fix)
Project:
Privatemsg
Version:
6.x-1.0-rc2
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
27 Apr 2009 at 08:31 UTC
Updated:
15 Aug 2009 at 09:21 UTC
Jump to comment: Most recent file
Comments
Comment #1
berdirThe hooks has changes, so this needs to be re-rolled and probably support multiple recipients.
Comment #2
black silence commentedre-patched for current dev
the part with less code is now irrelevant, but it's still an api for other modules
Comment #3
berdirHm, not sure.
You can use privatemsg_get_link, which will return an URL if you are allowed to send a message to someone. The difference is, that privatemsg_get_link() does not only use pm_block_user but it does also check all permissions and any other modules that might implement hook_privatemsg_block_message().
http://blog.worldempire.ch/api/function/privatemsg_get_link
Also, this does not check the new rule-based configuration options, so I'm setting this to won't fix, feel free to re-open if you disagree.