]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
use fallback URIs for groups when filling in attention in Notice::asActivity()
authorEvan Prodromou <evan@status.net>
Thu, 17 Feb 2011 15:51:00 +0000 (10:51 -0500)
committerEvan Prodromou <evan@status.net>
Thu, 17 Feb 2011 15:51:00 +0000 (10:51 -0500)
classes/Notice.php

index 4522d1fc3889b4648afb6e8434afddfd0fbe8bd8..c9cca8a96952b7724f62827dc2261584831af3d4 100644 (file)
@@ -1333,7 +1333,7 @@ class Notice extends Memcached_DataObject
             $groups = $this->getGroups();
 
             foreach ($groups as $group) {
-                $ctx->attention[] = $group->uri;
+                $ctx->attention[] = $group->getUri();
             }
 
             // XXX: deprecated; use ActivityVerb::SHARE instead