foreach($this->groups as $group){
$max = max($max,strtotime($group->modified));
}
- return $max;
+ // but maybe this file has been modified after that and could
+ // respond differently
+ return max($max, filemtime(__FILE__));
}
/**
$acct = $profile->getAcctUri();
$identifier = explode(':', $profile->getAcctUri(), 2)[1];
$results[] = array(
- 'value' => '!'.$group->getNickname(),
+ 'value' => '!'.$identifier,
'nickname' => $group->getNickname(),
'acct_uri' => $acct,
'label'=> "${identifier} (".$group->getFullname().")",