function messaging_xmpp_render in Messaging 6.4
Same name and namespace in other branches
- 6.2 messaging_xmpp/messaging_xmpp.module \messaging_xmpp_render()
- 6.3 messaging_xmpp/messaging_xmpp.module \messaging_xmpp_render()
Message Render callback
1 string reference to 'messaging_xmpp_render'
- messaging_xmpp_messaging in messaging_xmpp/
messaging_xmpp.module - Implementation of hook_messaging
File
- messaging_xmpp/
messaging_xmpp.module, line 166 - XMPP Messsaging. Messaging method plug-in
Code
function messaging_xmpp_render($message, $info) {
// rendering the message to get any additional pieces being put on
$message = Messaging_Send_Method::default_render($message, $info);
// We apply a final filtering, stripping out all html tags
$message->body = messaging_text_clean($message->body);
$message->subject = messaging_text_clean($message->subject);
return $message;
}