You are here

protected function ConnectedHeartbeat::whoIsActor in Heartbeat 6.4

proctected fuinction whoIsActor Add the heartbeat relations for the stream's active user.

Overrides HeartbeatAccess::whoIsActor

File

modules/friendlist_activity/connectedheartbeat.inc, line 22

Class

ConnectedHeartbeat
Class ConnectedHeartbeat Concrete class to prepare messages for the current user and all of his/her relations.

Code

protected function whoIsActor($account = NULL) {
  parent::whoIsActor($account);
  $this->stream->heartbeat_relations = heartbeat_get_related_uids($this->stream->uid);
}