Exemple #1
0
 public function getAliases()
 {
     $aliases = array();
     try {
         // Try to create an acct: URI if we're dealing with a profile
         $aliases[] = $this->reconstructAcct();
     } catch (WebFingerReconstructionException $e) {
         common_debug("WebFinger reconstruction for Profile failed (id={$this->object->id})");
     }
     return array_merge($aliases, parent::getAliases());
 }
Exemple #2
0
 public function __construct(Notice $object)
 {
     // The type argument above verifies that it's our class
     parent::__construct($object);
 }