forked from GNUsocial/gnu-social
use fallback URIs for groups when filling in attention in Notice::asActivity()
This commit is contained in:
parent
39c6e34098
commit
ccdd47bdb4
@ -1333,7 +1333,7 @@ class Notice extends Memcached_DataObject
|
|||||||
$groups = $this->getGroups();
|
$groups = $this->getGroups();
|
||||||
|
|
||||||
foreach ($groups as $group) {
|
foreach ($groups as $group) {
|
||||||
$ctx->attention[] = $group->uri;
|
$ctx->attention[] = $group->getUri();
|
||||||
}
|
}
|
||||||
|
|
||||||
// XXX: deprecated; use ActivityVerb::SHARE instead
|
// XXX: deprecated; use ActivityVerb::SHARE instead
|
||||||
|
Loading…
Reference in New Issue
Block a user