You are here

function nodejs_buddylist_user_list in Node.js integration 7

Get a list of buddies for the given account.

Parameters

$account:

Return value

array

2 calls to nodejs_buddylist_user_list()
nodejs_buddylist_block_content in nodejs_buddylist/nodejs_buddylist.module
Get the content for the buddy list block.
nodejs_buddylist_nodejs_user_presence_list in nodejs_buddylist/nodejs_buddylist.module
Implements hook_nodejs_user_presence_list().

File

nodejs_buddylist/nodejs_buddylist.module, line 40

Code

function nodejs_buddylist_user_list($account) {
  return flag_friend_get_friends($account->uid);
}