Hi,
Thanks for the quick response.
Here's the requirement - this is a site for 'vulnerable' users, all messages between registered users (JomSocial) are moderated before delivery (this is covered in the T&Cs). This works well using the Message Centre, etc.
However, when a Guest searches & finds a user, then I want them to be able to message that user while they register, but for the message to be moderated before delivery as above.
I'm using my own plugin to enable this using the function onUserAfterSave().
I suspect mine is a minority use case!
However, I'm willing to use raw sql if there's not a way using the API. I notice that the sendNewMessage() returns the ID of the new message - is there the sql to 'move' this new message into the moderation queue?
Any pointers?
Thanks again,
Eddie