You are here

public static function Nodejs::setUserPresenceList in Node.js integration 6

Same name and namespace in other branches
  1. 7 nodejs.module \Nodejs::setUserPresenceList()
1 call to Nodejs::setUserPresenceList()
nodejs_set_user_presence_list in ./nodejs.module
Set the list of uids a user can see presence notifications for.

File

./nodejs.module, line 628

Class

Nodejs

Code

public static function setUserPresenceList($uid, array $uids) {
  self::initConfig();
  return drupal_http_request(self::$baseUrl . "nodejs/user/presence-list/{$uid}/" . implode(',', $uids), self::$headers);
}