function decorate_messages($objects, $ignore_replies = false) { $updated = array(); foreach ($objects as $object) { $updated[] = decorate_message($object, $ignore_replies); } return $updated; }
protected function decorate_object($object) { return decorate_message($object); }