]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - classes/Fave.php
Notice URIs are not necessarily URLs.
[quix0rs-gnu-social.git] / classes / Fave.php
index beeda9aafd314795414ad8c51712de94c2f03a46..207614329681e3da8ebca87047f474087ca9b1bd 100644 (file)
@@ -142,7 +142,7 @@ class Fave extends Managed_DataObject
         // TRANS: %1$s is a user nickname or full name, %2$s is a notice URI.
         $act->content = sprintf(_('%1$s marked notice %2$s as a favorite.'),
                                $profile->getBestName(),
-                               $notice->uri);
+                               $notice->getUrl());
 
         $act->actor     = ActivityObject::fromProfile($profile);
         $act->objects[] = ActivityObject::fromNotice($notice);