You are here

function messaging_xmpp_user_destination in Messaging 6.3

Same name and namespace in other branches
  1. 6.4 messaging_xmpp/messaging_xmpp.module \messaging_xmpp_user_destination()
  2. 6.2 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 178
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'];
  }
}