);
}
- function defaultLogo($size)
+ public static function defaultLogo($size)
{
static $sizenames = array(AVATAR_PROFILE_SIZE => 'profile',
AVATAR_STREAM_SIZE => 'stream',
$total = count($notices);
$notices = array_slice($notices, 0, NOTICES_PER_PAGE);
- self::prefill(self::_allNotices($notices));
+ $allnotices = self::_allNotices($notices);
+ self::prefill($allnotices);
$conversations = array();
$this->queuedConnection()->message($screenname, $body, 'chat');
}
- function sendNotice($screenname, $notice)
+ function sendNotice($screenname, Notice $notice)
{
$msg = $this->formatNotice($notice);
$entry = $this->format_entry($notice);