+
+ /**
+ * This will perform shortenLinks with the connected User object.
+ *
+ * Won't work on remote profiles or groups, so expect a
+ * NoSuchUserException if you don't know it's a local User.
+ *
+ * @param string $text String to shorten
+ * @param boolean $always Disrespect minimum length etc.
+ *
+ * @return string link-shortened $text
+ */
+ public function shortenLinks($text, $always=false)
+ {
+ return $this->getUser()->shortenLinks($text, $always);
+ }