function messaging_xmpp_user_destination in Messaging 6.4
Same name and namespace in other branches
- 6.2 messaging_xmpp/messaging_xmpp.module \messaging_xmpp_user_destination()
- 6.3 messaging_xmpp/messaging_xmpp.module \messaging_xmpp_user_destination()
Get XMPP destination (jid) for user account
1 string reference to 'messaging_xmpp_user_destination'
- messaging_xmpp_messaging in messaging_xmpp/
messaging_xmpp.module - Implementation of hook_messaging
File
- messaging_xmpp/
messaging_xmpp.module, line 179 - XMPP Messsaging. Messaging method plug-in
Code
function messaging_xmpp_user_destination($account) {
if ($account && !empty($account->xmpp_user['jid'])) {
return $account->xmpp_user['jid'];
}
}